I am working on use firebase to tag in application iOS.
I have different configuration in app, dev, prod, preprod, appStore. So I have several GoogleService-Info.plist in project.
I renamed them as GoogleService-Info-Prod.plist, GoogleService-Info-Dev.plist, in a folder Resources.
I've add a run script in the build phrase of project,
cp "${SRCROOT}/Test/Resourses/Firebase/GoogleService-Info-$CONFIGURATION.plist" "${SRCROOT}/Test/Resourses/Firebase/GoogleService-Info.plist" I intent to cp the content of GoogleService-Info-blabla.plist into GoogleService-Info.plist.
But apparently, I've got this error:
2018-07-02 19:05:27.295083+0200 Test [PROD][63021:19806839] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '[FIRApp configure];
(FirebaseApp.configure()
in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'
Any idea that where I made mistake? Thank you so much for you attention.