[IOS] The app crash at start
See original GitHub issueI’m using RN 0.43.2, iOS 5s (10.2) Simulator and Xcode 8.2.1.
I do well the installation steps but the app crash in iOS (I try using pod and in other copy of my project using without pod and nothing).
npm install react-native-fcm --save
react-native link react-native-fcm
- edit Podfile and add
pod 'Firebase/Messaging'
- edit AppDelegate.h
- edit AppDelegate.m
- I enable the necessary Capabilities
- In Manage schemes I remove and add the scheme of my project I do double click, click in Build and I add React and projectTest. And put in order React -> project -> projectTest.
I put the GoogleService-Info.plist file into project/ios/project/.
But I can’t do this run.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:16 (2 by maintainers)
Top Results From Across the Web
9 Fixes for When Your iPhone Apps Keep Crashing
9 Fixes for When Your iPhone Apps Keep Crashing · 2. Close and Relaunch the App · 3. Update the App · 4....
Read more >App crashing immediately on start up after upgrading to iOS12.
Running fine in simulator but crashes in device. No crash logs recorded. In line error shown after launching the app Thread 1: EXC_BAD_ACCESS...
Read more >13 solutions to fix apps crashing on iPhone and iPad
How to fix app crashing on iPhone · Close and reopen the app · Enable and disable Airplane Mode · Restart your iPhone...
Read more >Fix iPhone App Crashing on Startup: on iPad, After iOS 15 ...
Fix iPhone App crashing on Startup: on iPad, After iOS 16.1.2 Update · Restart or reboot iPhone, iPad or Hard Reset · Up-to-date...
Read more >How to Fix Crashing Apps on iPhone & iPad | OSXDaily
2: Quit and Re-Launch the App. Sometimes the simplest solution to a resolve a crashing application in iOS is to quit the app...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This comment solved it for me. https://github.com/evollu/react-native-fcm/issues/322#issuecomment-281678346
I had the same issue. It looks like there are breaking changes in new version of Firebase pod (4.0.0). https://firebase.google.com/support/release-notes/ios#4.0.0
After downgrading it to previous version it works fine for me.