EAS Build Issue (pod exited with non-zero code: 1)

Expo CLI 5.0.1 environment info:
System:
OS: macOS 12.0.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.16.2 - /usr/local/bin/node
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 2021.12.13.00 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
IDEs:
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
npmPackages:
expo: ^44.0.0 => 44.0.0
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
npmGlobalPackages:
eas-cli: 0.41.1
expo-cli: 5.0.1
Expo Workflow: managed

Installing pods

Using Expo modules

Auto-linking React Native modules for target qTuner: RNAudioRecord, RNReanimated, expo-dev-client, expo-dev-launcher, expo-dev-menu, expo-dev-menu-interface, and react-native-flipper

Analyzing dependencies

Fetching podspec for DoubleConversion from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec

Fetching podspec for RCT-Folly from ../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec

Fetching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec

Adding spec repo trunk with CDN https://cdn.cocoapods.org/

CocoaPods 1.11.2 is available.

To update use: sudo gem install cocoapods

Downloading dependencies

Installing CocoaAsyncSocket (7.6.5)

Installing DoubleConversion (1.1.6)

Installing EXAV (10.2.0)

Installing EXApplication (4.0.1)

Installing EXConstants (13.0.0)

Installing EXErrorRecovery (3.0.4)

Installing EXFileSystem (13.1.0)

Installing EXFont (10.0.4)

Installing EXJSONUtils (0.2.0)

Installing EXKeepAwake (10.0.1)

Installing EXManifests (0.2.2)

Installing EXSplashScreen (0.14.1)

Installing EXUpdatesInterface (0.5.0)

Installing Expo (44.0.0)

Installing ExpoModulesCore (0.6.3)

Installing FBLazyVector (0.64.3)

Installing FBReactNativeSpec (0.64.3)

Installing Flipper (0.75.1)

Installing Flipper-DoubleConversion (1.1.7)

Installing Flipper-Folly (2.5.3)

Installing Flipper-Glog (0.3.6)

Installing Flipper-PeerTalk (0.0.4)

Installing Flipper-RSocket (1.3.1)

Installing FlipperKit (0.75.1)

Installing OpenSSL-Universal (1.1.180)

Installing RCT-Folly (2020.01.13.00)

Installing RCTRequired (0.64.3)

Installing RCTTypeSafety (0.64.3)

Installing RNAudioRecord (0.2.2)

Installing RNReanimated (2.3.1)

Installing React (0.64.3)

Installing React-Core (0.64.3)

Installing React-CoreModules (0.64.3)

Installing React-RCTActionSheet (0.64.3)

Installing React-RCTAnimation (0.64.3)

Installing React-RCTImage (0.64.3)

Installing React-RCTLinking (0.64.3)

Installing React-RCTBlob (0.64.3)

Installing React-RCTNetwork (0.64.3)

Installing React-RCTSettings (0.64.3)

Installing React-RCTText (0.64.3)

Installing React-RCTVibration (0.64.3)

Installing React-callinvoker (0.64.3)

Installing React-cxxreact (0.64.3)

Installing React-jsi (0.64.3)

Installing React-jsiexecutor (0.64.3)

Installing React-jsinspector (0.64.3)

Installing React-perflogger (0.64.3)

Installing React-runtimeexecutor (0.64.3)

Installing ReactCommon (0.64.3)

Installing Yoga (1.14.0)

Installing YogaKit (1.18.1)

Installing boost-for-react-native (1.63.0)

Installing expo-dev-client (0.7.2)

Installing expo-dev-launcher (0.9.1)

Installing expo-dev-menu (0.8.6)

Installing expo-dev-menu-interface (0.4.2)

Installing glog (0.3.5)

Installing hermes-engine (0.7.2)

Installing libevent (2.1.12)

Installing react-native-flipper (0.126.0)

Generating Pods project

Patching /Users/expo/workingdir/build/ios/Pods/RCT-Folly/folly/synchronization/DistributedMutex-inl.h

Integrating client project

[!] Please close any current Xcode sessions and use qTuner.xcworkspace for this project from now on.

[!] An error occurred while processing the post-integrate hook of the Podfile.

undefined method `expo_patch_react_imports!’ for #Pod::Podfile:0x00007fb565cdb4d8

/Users/expo/workingdir/build/ios/Podfile:47:in `block (3 levels) in from_ruby’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:196:in `post_integrate!’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:925:in `run_podfile_post_integrate_hook’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:913:in `block in run_podfile_post_integrate_hooks’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:145:in `message’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:912:in `run_podfile_post_integrate_hooks’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:841:in `block in integrate_user_project’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:836:in `integrate_user_project’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:180:in `integrate’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:166:in `install!’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run’

/usr/local/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run’

/usr/local/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>’

/usr/local/lib/ruby/gems/2.7.0/bin/pod:23:in `load’

/usr/local/lib/ruby/gems/2.7.0/bin/pod:23:in `’

[stderr] [!] <PBXResourcesBuildPhase UUID=13B07F8E1A680F5B00A75B9A> attempted to initialize an object with an unknown UUID. 196B950333644EFDA6E2853F for attribute: files. This can be the result of a merge and the unknown UUID is being discarded.

[stderr]

[stderr] [!] Can’t merge user_target_xcconfig for pod targets: [“Reanimated”, “hermes-engine”]. Singular build setting CLANG_CXX_LIBRARY has different values.

pod exited with non-zero code: 1

There is a new expo version 0.44.1
Maybe try to upgrade, and build again with clearing the cache

Thanks! The issue is resolved after I updated my eas-cli to 0.42.4

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.