-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS SDK with CocoaPods #972
Conversation
@rutbastoni thanks for the PR. |
When I installed the plugin from this PR branch into a Cordova project on iOS, I got this error during the build which caused it to fail:
On examination, the generated Podfile defaults to a min iOS version of "7.0" (as outlined in the cordova-plugin-cocoapods-support docs) but the deployment target set in the Firebase podspecs is set to "8.0". So to get the plugin to work in a build when this PR is included, I had to fork the PR branch and add this to
The build then succeeded:
|
@dpa99c thanks for your suggestion, I didn't see the issue, because my project already has minimum iOS version set to 9. I've just sent the fix, anyway the Travis build is still failing for Cordova < 8, I don't understand why (it's failing for Android platform, too) and I don't have the time to dig more into Travis builds |
@rutbastoni thanks for adding the min iOS version. The only other issue I encountered is not caused by this PR, but is due to a bug in The PR to fix it (apache/cordova-ios#398) has been merged to the The solution I used was, as inspired by this comment, to download the patched version of
|
Please accept this pull request |
Excellent @dpa99c and @rutbastoni ! It worked flawlessly. Thank you! |
Looks like apache/cordova-ios#398 has been released in cordova-ios v5.0.0, so maybe this PR can progress further now? |
Any updates on this? I would love to get this working so I can use the dynamic links plugin as well |
Any updates on this? |
Referencing #672 , this PR completes installation of iOS SDK with CocoaPods structure (and of course with latest Sdk version).
I've tested it on my application, using latest Cordova Cli (8.1.2) and xCode version 10.
Crashlytics error reporting also works fine, I had to fix bugged install/uninstall hooks.
The official documentation states that the Crashlytics run script phase should include an additional input file, so I managed it in the hook script, since I couldn't figure out how to distinguish a .pbxproj file from a xCode 10 version to a lower one, shouldn't matter very much since everyone is forced to update xCode for new builds for Apple Store uploads starting from 2019.
Any help for possible bugs or problems with lower Cordova or xCode versions is welcome