For iOS, how to use one config file for different bundle identifier in Xcode?

2,388 views
Skip to first unread message

Suyu Zhang

unread,
May 26, 2016, 8:30:17 PM5/26/16
to Firebase Google Group

Hey I am playing with the new firebase iOS SDK, in my project, I have two schemes using two different bundle identifiers, but seems like the config file downloaded from firebase only support one bundle identifier.


So anyone know how to use firebase within a multiple bundle identifier xcode project?


Thanks!

Jiuyu Sun

unread,
May 27, 2016, 6:45:38 AM5/27/16
to Firebase Google Group
Currently each project only holds one GoogleService-Info.plist, and it does not support multiple Bundle ID for now. 
But FIRApp do support multiple app instances (with the same Bundle ID though), and they can be identified by the app name.

Suyu Zhang

unread,
May 27, 2016, 4:22:39 PM5/27/16
to Firebase Google Group

So probably my best option now is using testing config file for testing only, when production is ready, then replace the testing config file with production config file right? 

Jiuyu Sun

unread,
May 27, 2016, 9:33:35 PM5/27/16
to Firebase Google Group
I think that's an option. Make sure that the bundle ID in the GoogleService-Info.plist is consistent with corresponding bundle ID in your target project.
Reply all
Reply to author
Forward
0 new messages