Skip to content

[FIRApp configure] crashes app on ios simulator #340

@mjmaix

Description

@mjmaix
  • Xcode version: Version 9.0 (9A235)
  • Firebase SDK version: Firebase/Core (4.3.0)
  • Firebase Component: Core
  • Component version: _____

Steps to reproduce:

Running my RN app with react-native run-ios is working until integrating firebase on ios/AppDelegate.m file. After adding, the app crashes after showing (> 1 sec)

(did pod update and/or pod install after manually removing Pods folder)

See this this recording: http://recordit.co/Ry74pTUpmC

I'm using iPhone 6 (iOS 11.0) simulator

This is the system log


Oct  6 16:14:54 Michael-MBP com.apple.CoreSimulator.SimDevice.D1B5DE36-2EA8-4AB5-A760-73F98649F1B3[19245] (com.apple.videosubscriptionsd[20973]): Service exited with abnormal code: 1
Oct  6 16:14:55 Michael-MBP com.apple.CoreSimulator.SimDevice.D1B5DE36-2EA8-4AB5-A760-73F98649F1B3[19245] (com.apple.videosubscriptionsd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Oct  6 16:14:56 Michael-MBP RNFirebase3[20976]: assertion failed: 17A365 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d
Oct  6 16:15:05 Michael-MBP com.apple.CoreSimulator.SimDevice.D1B5DE36-2EA8-4AB5-A760-73F98649F1B3[19245] (com.apple.videosubscriptionsd[20977]): Service exited with abnormal code: 1

Relevant Code:

see commit on my sample app https://github.com/mjmaix/RNFirebase3/commit/4040fffc504f3fb002d76f146c717598b267dcba and https://github.com/mjmaix/RNFirebase3/commit/a95959c7cee519319ac82bdbb2951592dd1ef7cb

other info:

GoogleService-Info.plist exists on local repo but ignored on commit

gem which cocoapods
/Users/mick/.rvm/gems/ruby-2.4.0@global/gems/cocoapods-1.3.1/lib/cocoapods.rb
npm --version
5.4.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions