question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[IOS] The app crash at start

See original GitHub issue

I’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).

  1. npm install react-native-fcm --save
  2. react-native link react-native-fcm
  3. edit Podfile and add pod 'Firebase/Messaging'
  4. edit AppDelegate.h
  5. edit AppDelegate.m
  6. I enable the necessary Capabilities
  7. 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.

screen shot 2017-05-25 at 14 06 28

I put the GoogleService-Info.plist file into project/ios/project/.

But I can’t do this run.

screen shot 2017-05-25 at 15 29 14

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
felipemartimcommented, May 27, 2017
4reactions
vinayrcommented, May 29, 2017

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.

  #pod 'Firebase/Messaging'
  pod 'Firebase/Messaging', '3.17.0'
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found