-
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
IOS Build Issue in Azure Pipeline after updating macos Version to 13 and xcode Version to 15. #7647
Comments
Hi there! You have ignored our issue template and the information provided does not indicate react-native-firebase is the root cause at all, so I will close this I have a script that reliably builds react-native-firebase into a project created from scratch in order to test things and it works fine on macos-13 and Xcode 15 https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh My guess with error code 65 is that some shell script failed, perhaps you are missing a build utility in your new pipeline versions or are running outdated versions of react-native-firebase or react-native so you don't have the necessary fixes to run on modern macOS with modern Xcode |
Now sure why this issue is close, I am just facing the same one. My app is built with Expo and I am building it on Azure, after prebuilding the app. No matter what you try, the task xCode@5 fails, 60 seconds after it starts with error code:65. I have managed to build the app without the Xcode task, but now when check my IPA it says my app is not signed, and I don't receive push notification on my devices:
I have written an article on medium on how I was able to build the app, I guess you can check it here. |
@ngorgiev the issue is closed for all the reasons I stated. No template. No indication it's react-native-firebase that's the problem. Error 65 is almost always "your build process didn't find the node binary" although per your article it may also mean "you haven't configured Xcode correctly". You might like fastlane, it's built for this purpose - takes a little while to set up (mostly because the Apple tools are terrible and fastlane just has to deal with that) but afterwards, bliss. https://fastlane.tools/ |
I think there is some issue either with the firebase npm packages or its something on azure side. One last thing, I have downloaded the entire repo from azure after the build failed, made the needed changes in the paths so I can build the project locally, and magically it works, on azure it does not, so the point is, Azure has issues signing my app when I add your packages. Ps. we are talking about Expo, so I don't control iOS/android projects directly, I am assuming there is no issue when using react native without expo, but since expo is now recommended by meta, I bet this is something that you need to take care of, because there are some clients that won't like using expo services :) pps. I have regenerated certificates and provision profiles together with the p12 more than 5 times. Also in the pipeline I have tried renaming the ipa to zip, extracting it, try to force sign it and repack it, still nothing. |
I don't use Expo and I don't use Azure so I won't be able to help here. If everything works locally, then there is not a problem with the packages, there is a problem with the usage of the packages in Azure - that's not a problem in this repository |
@ngorgiev are you still facing the same ? or any possible workarounds? |
yes, there is no solution, so you canot build it on azure with Firebase Push Notifications working, only with local build you are going to be able to test the PN. |
Hi @mikehardy , After adding React Native Firebase (only using Analytics and Crashlytics, not push notifications), the build fails unless I set CODE_SIGNING_ALLOWED = "NO" in the Podfile. This resolves the issue temporarily, but I’m concerned it might affect production signing. Any advice on a more permanent solution? P.S. - Local build is doing fine without any changes. it just fails with azure pipeline when CODE_SIGNING_ALLOWED is not set to "NO". Thanks! |
Sorry, no, my previous comment still applies |
After updating macos version to 13 and xcode version to 15 in my laptop(m1-chip), Without any issues, I am able to run simulator, ios real device in debug mode. I am able to generate manual release build using Xcode. But when I push code changes to Azure Devops after updating macos version to 13 and xcode version to 15 in pipeline, Xcode build is failing with some Run script build phase error. I hope the error is belongs to React-Native-Firebase. Please refer the below points for warnings and errors. And help me to fix the issues.
Please file a bug at https://feedbackassistant.apple.com/ with this warning message and any useful information you can provide.
Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'myProject' from project 'myProject')
Run script build phase '[CP-User] [RNFB] Crashlytics Configuration' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'myProject' from project 'myProject')
Run script build phase '[CP-User] Config codegen' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'react-native-config' from project 'Pods')
** BUILD FAILED **
##[error]Error: /usr/bin/xcodebuild failed with return code: 65
The text was updated successfully, but these errors were encountered: