-
Notifications
You must be signed in to change notification settings - Fork 987
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][Cocoapods] Podfile deployment-target is not updated on cordova prepare #580
Comments
I just tested this against |
I currently have a similar issue, even with version 5.1.1. |
Hi all, any update on this? Using version 5.1.1 the bug appears just with a sample project. I can confirm the behavior described by @rossholdway. Thanks, Lorenzo |
I'm still having this issue. I created a new cordova app and I have a custom plugin that uses podspec. |
I'm also running into this issue. I'll have to check if a build hook can add a pod post-install script to work around this bug: |
Bug Report
Issue #468 was recently fixed, however the
deployment-target
preference only applies if you runcordova plugin add ...
and not when runningcordova prepare
.Problem
cordova prepare
does not update the Podfile with the value specified in the config.xmldeployment-target
prefrence.What is expected to happen?
The Podfile should contain the value specified in the config.xml
deployment-target
preference after runningcordova prepare
.What does actually happen?
The Podfile is not updated with the value specified
Steps to reproduce
cordova create MyApp
cordova platform add ios@5.0.0
10.0
platforms
andplugins
folderscordova prepare
9.0
. I'd expect it to be 10, as specified in config.xmlVersion information
Cordova iOS v5.0.0
Cordova CLI v9.0.0
Checklist
The text was updated successfully, but these errors were encountered: