-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
🔥Fails with App Center Build #1667
Comments
I have the same issue. I also tried upgrading to the pods listed below just like the starter kit
|
@Ehesp Have the same issue on
Error log:
|
Is there any updates on this issue? has anyone got any luck with it? |
@dante8300 No, no luck, I can't even understand if any workaround is possible? Because of this issue we need to stick to @Salakar Any hints? 😢 |
React Native v0.58 is coming soon with Xcode 10 building out of the box, will have to wait for that to be honest - sorry 🙈 Track it here: react-native-community/releases#41 (will be in the next rc, Loving
|
As a workaround: I have been able to fix this issue by reverting the Xcode project to using the
Others have been able to resolve this by adding the |
@PJUllrich it works locally, but it doesn't on the AppCenter. |
@PJUllrich I don't have "Legacy Build System" on XCode 9 where I see this failing. |
Hello 👋, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions. |
The problem still exists. |
Any idea if 0.58 ended up having the fix? I can't see anything mentioned about this in the 0.58 changelog. |
@pehagg me eighter, I hope they fixed it. I will look into it this week. |
@pehagg @MD3XTER I'm using the new build system myself on v0.58.1 with no issues, so I assume this should be working for you now; |
Still reproduced on Bitrise. I Use Xcode 10 and new build system with react-native@0.58.3 and react-native-firebase@5.2.2 |
In my case the root of problem was related to react-native-config, somehow after firebase upgrade my build started failed on Bitrise with errors like: CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/zeekon-ghjaqinkchfneegoxjvmvrirhsjd/Build/Intermediates.noindex/ArchiveIntermediates/zeekon/IntermediateBuildFilesPath/ReactNativeConfig.build/Release-iphoneos/ReactNativeConfig.build/Objects-normal/arm64/ReactNativeConfig.o /Users/vagrant/git/node_modules/react-native-config/ios/ReactNativeConfig/ReactNativeConfig.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler Integration the react-native-config through a cocoapods fixed the problem |
I still get the same problem as before on RN 0.58.5, Xcode 10.1, RNF 5.2.2. Is there anyone who got this problem fixed? p.s It works locally but fails during AppCenter build. |
Hello 👋, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions. |
This issue has nothing to do with Xcode 10 new build system. Once again, it works locally but do not work for cloud building systems like BitRise or AppCenter... |
But it looks like @Obi1Kennoby got it working... is it reproducible in the starter app? |
Hello 👋, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions. |
Get the same problem during AppCenter build |
Hello 👋, to help manage issues we automatically close stale issues.
|
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information. |
This is happening to me only happens in appcenter, locally it archives fine. |
Failing with AppCenter Build .. :( :( still no solution |
This is also happening to me, where local archives are successful, but App Center fails intermittently. Currently on "react-native": "0.62.0", "react-native-firebase": "^5.5.6". When it does fail, the failing action is: When I search the build logs of one that happens to succeed, the |
This is a long shot, but I wonder if AppCenter is doing some sort of caching, and it would pay to use react-native-clean-project to at least purge DerivedData prior to commencing the build on AppCenter. |
I added into the appcenter-pre-build.sh a line to run a package.json script that runs react-native-clean project, with additional arguments The resulting output in the appcenter build console seemed to indicate it ran, insofar as I needed it to purge cached data
However, appcenter build still fails for the same reason indicated in this issue thread. |
Sorry that didn't help - the 'wipe iOS build artifacts' line is the one that wipes out DerivedData, so it appears to have at least tested the hypothesis, just did not succeed. Alas |
The resolution for me was to change the appcenter build config to not use the Legacy Build System. Once this option was switched off, builds began succeeding consistently. Also using Xcode version 11.4.1 for reference. Perhaps the issue with earlier users reporting the issue is that they were trying to use the new build system with a < v11 Xcode. I did experience a build timeout that never finished after this change one time, but haven't since. |
Great news and good info - thanks for the followup |
Issue
Work with CLI. Works with Xcode. Works with Travis CI. Fails with App Center Build.
Project Files
iOS
ios/Podfile
:AppDelegate.m
:Environment
ADD_SOMETHING_HERE
e.g. iOS 10 or Android API 28N/A
N/A
React Native
version:React Native Firebase
library version:Firebase
module(s) you're using that has the issue:TypeScript
?ExpoKit
?ExpoKit
N/A
CI Logs:
The text was updated successfully, but these errors were encountered: