Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Ask Question
I have a RN project, it runs fine in android but it is giving problems in iOS. I've used react-native-firebase in it. Is it the issue generated by firebase?
What didn’t work:
-Used legacy setting in Xcode that didn’t solve the issue.
-ran the project from xcode
if I run react-native run-ios, it is giving following error:
error Failed to build iOS project. We ran "xcodebuild" command but it exited
with error code 65. To debug build logs further, consider building your app with
Xcode.app, by opening qfo.xcworkspace
If I ran the project from xcode, build error is in the image:
Inside RNFirebaseInstanceId.m file
entering a new folder,
recreating the react native package(with same name) react-native init app-name,
deleting the old(current failing) ios folder(move it if you want to save it),
adding the newly made ios folder to the main(original) app folder,
running react-native link (to relink all of the ios pod files etc) and now my app works on both ios and android.
Hope this can help someone in the future.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.