expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
716 stars 76 forks source link

Error/warning on failing build: "Can't merge pod_target_xcconfig for pod targets" #2434

Open Nantris opened 3 weeks ago

Nantris commented 3 weeks ago

Build/Submit details page URL

No response

Summary

EAS build that has no issues with npx expo-doctor prints this (non-fatal?) error/warning during builds. Although it doesn't seem fatal, the build is failing later in the process and I can't be sure this is unrelated to the failure.

Managed or bare?

Managed

Environment

expo-env-info 1.2.0 environment info: System: OS: macOS 14.5 Shell: 5.9 - /bin/zsh Binaries: Node: 20.12.0 - ~/.nvm/versions/node/v20.12.0/bin/node Yarn: 1.22.22 - ~/.nvm/versions/node/v20.12.0/bin/yarn npm: 10.5.0 - ~/.nvm/versions/node/v20.12.0/bin/npm Managers: CocoaPods: 1.15.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5 IDEs: Xcode: 15.4/15F31d - /usr/bin/xcodebuild npmGlobalPackages: eas-cli: 10.0.0 expo-cli: 6.3.10 Expo Workflow: managed

✔ Check Expo config for common issues ✔ Check package.json for common issues ✔ Check dependencies for packages that should not be installed directly ✔ Check for common project setup issues ✔ Check for issues with metro config ✔ Check npm/ yarn versions ✔ Check Expo config (app.json/ app.config.js) schema ✔ Check native tooling versions ✔ Check that packages match versions required by installed Expo SDK ✔ Check for legacy global CLI installed locally ✔ Check that native modules do not use incompatible support packages ✔ Check that native modules use compatible support package versions for installed Expo SDK

Didn't find any issues with the project!

Error output

[INSTALL_PODS] [!] [Codegen] warn: using experimental new codegen integration
[INSTALL_PODS] [!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `D5A51ACEDD5444D6B50BA983` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[INSTALL_PODS] [!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values.
[INSTALL_PODS] [!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values.
[INSTALL_PODS] [!] hermes-engine has added 1 script phase. Please inspect before executing a build. See `https://guides.cocoapods.org/syntax/podspec.html#script_phases` for more information.

Reproducible demo or steps to reproduce from a blank project

Unknown

jmarsh24 commented 2 weeks ago

+1

adamstl1997 commented 2 weeks ago

+1

Jules-Astier commented 6 days ago

I've also had this issue

aimeeaidanu commented 5 days ago

+1

Nantris commented 5 days ago

To everyone commenting +1 and the like, it would do you much more good to:

  1. Add a thumbs-up (maintainers can organize issues by their number of reaction emojis)
  2. Add a meaningful comment with your findings, or otherwise subscribe to notifications on the right-hand-side to avoid cluttering the thread
abhishek-pavesoft commented 3 days ago

Hey did you find a solution to this? I'm also facing this issue.

aimeeaidanu commented 3 days ago

Yeah I fixed it by updating expo-cli

abhishek-pavesoft commented 3 days ago

@aimeeaidanu I also resolved it a few minutes ago by changing iOS target version from 13.0 to 13.4.

Nantris commented 2 days ago

@aimeeaidanu to what version? I think expo-cli upgrades can change the iOS target version (though generally only for major releases?)

I was on the latest at the time when I filed this.