-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error/warning on failing build: "Can't merge pod_target_xcconfig for pod targets" #2434
Comments
+1 |
1 similar comment
+1 |
I've also had this issue |
+1 |
To everyone commenting +1 and the like, it would do you much more good to:
|
Hey did you find a solution to this? I'm also facing this issue. |
Yeah I fixed it by updating expo-cli |
@aimeeaidanu I also resolved it a few minutes ago by changing iOS target version from 13.0 to 13.4. |
@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. |
Wasn't this replaced by |
I'm seeing this as well. Clean expo-doctor, expo 51, and am using iOS deployment target of 17.0 (because I have some native code that needs this as min version). |
I see the exact msg, not sure if breaks anything tho. App seems to work fine.
|
For what it's worth, this issue was not breaking our builds as far as I can tell. I got our builds working and I'm 99% sure this warning persisted despite the functional build being output. |
I'm having this issue. Might just be a warning but further down my build fails. This is the issue (something to do with fastlane) I'm thinking this might be related |
Did anyone find a solution to this? We just started getting it despite everything being fine 5 days ago. |
@Daniel-Cross and to any other people having this issue, try copying all files into a new directory and rebuilding. Seems to fix the issue as well. |
This started to happen to me as well, fully managed project, same failure both on EAS and with Tried to copy the directory to a new location, doesn't work. |
We just started getting this on EAS. Builds were passing on Sep 30 but we get this error as of today. No dependencies have changed. |
having this same problem, someone solve it? |
This issue seems to be come and go periodically. Keep me posted on any updates you guys have |
I have the same issue. Did a build in late September and it worked fine. Tried building 2 days ago 8:th of October and now it doesnt want to go through. Nothing in the code except the version number on the app has gone up. And I have a clean install of expo-cli Will it just correct itself in a few days? https://expo.dev/eas-build-status - also confirms that builds are going through. So surely everyone does not have this problem EDIT: We solved this problem today. As many have said the error is very missleading. And usually seem to be caused by some other underlying error. For us it was some packages that were outdated. We got warnings from expo-doctor and updating those dependencies fixed the build errors. It could have been caused by the new Xcode Versions that demands higher versions on some packages. |
I just ran into this, and I think this warning is misleading. Our problem was actually certificates, and that error is hidden by Fastlane piping Xcode logs to disk. By running In our case it was something like |
Did anyone make this work? I am running into the same issue. It was fine a few days ago...; Suddenly build started to fail with exactly the same message no matter how I changed the Podfile. |
For us one thing that helped was to upgrade Expo version to the latest minor update, and run Expo doctor to update all dependencies. This worked for a fully managed Expo project, with or without Of course, your milage may vary given many of the folks already tried this. For us the main thing that helped is to upgrade Expo SDK itself, not just upgrading other dependencies. |
Having the same issue. Tried everything here, but no solution did help |
Our builds are working again. For us, the error in this issue was unrelated. The real error (about provisioning/certificates) was hidden in the full log, which is only available when building with |
@statico yeah I tried it locally, but no logs are written ... |
@mariomurrent-softwaresolutions try upgrading my react-native to the latest patch version. This fixed it for me |
@statico I tried it, too. but no luck. I created a new certificate working fine but same error. @mariomurrent-softwaresolutions
Same here. @junzhengca Thank you! but when I solved the expo doctor's all issues, I am still getting the same errors.
The errors are the same
My Podfile definitely has YES only
|
@sakihayashi updated the deployment target to 15 and updated all dependencies. Did a clean and rebuild and now it seems to work |
Seems like this fixed it |
It was NOT related. The key for me was kicking off a non-local build on eas, then getting the xcode logs through the dashboard which revealed the error (in the logs). I couldn't find those xcode logs on my local machine when building locally, but the expo ui makes it easy to download those. |
@mariomurrent-softwaresolutions I cleaned everything and tried it but eventually I got the same error when I run pod install
|
Can anyone actually confirm ill effects from this issue? I don't want to waste the maintainers time, and so far I haven't confirmed any problems caused by it. |
"react-native": "0.74.5", As the expo-doctor said. So I updated all dependencies that I have no warning in expo-doctor |
Well it breaks local builds ... |
Unless I'm crazy, it didn't break mine. |
Well maybe not for you. Until I fixed the error yesterday, the build did not successfully complete locally. |
I may have already commented this but my biggest advice is to try to reinitalize in a fresh new project. A lot of these expo issues seem to have a completely random cause but creating a new project and then moving the code over seems to fix them. Key Point: It's going to correct itself eventually 😁 |
I don't see how this could be anything but an all or nothing, but your experience is duly noted. |
Surely, when I upgraded React native, the warning gone in my case like @mariomurrent-softwaresolutions said although I am now getting other errors. In the end, I decided to re-initialize the app as it had looping errors and warnings and does not read two files anymore. |
I got this error when doing a local build for IOS. My issue was that I'd just updated Xcode, and I hadn't yet downloaded and installed simulators for the newest IOS version. Solution:
|
Getting the same error after upgrading to Expo SDK 52 ... Seems really like a random occurring error for older projects :( |
if I'm not wrong it's related to react-native-svg downgrade to 15.3 and one more thing try to run pod install and show us the log |
`Integrating client project [!] [Codegen] warn: using experimental new codegen integration [!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values. [!] Can't merge pod_target_xcconfig for pod targets: ["expo-dev-menu", "Main", "ReactNativeCompatibles", "SafeAreaView", "Vendored"]. Singular build setting DEFINES_MODULE has different values.` I am getting this issue and its breaking build in xcode , |
need full package.json file +error logs after running npx expo run:ios |
I fixed this bug with the cmd: |
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
Reproducible demo or steps to reproduce from a blank project
Unknown
The text was updated successfully, but these errors were encountered: