-
Notifications
You must be signed in to change notification settings - Fork 991
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
Nightly breaks existing plugins without pod dependencies #498
Comments
cordova-ios 4.x.x (and probably older versions too) support setting the deployment target via a preference in config.xml: <preference name="deployment-target" value="10.0" /> |
I tried that, while the .xcodeworkspace is getting generated with iOS 10 as minimum, However the Podspec file is stuck on 8.0. |
@dpogue It seems like iOS 8 is hardcoded in the template at
deployment-target on iOS.
|
Ah, that's possible. I've never used Cocoapods so I didn't realize there was a version in there too. |
The That dependency creates an instance of its own version of common which it also passes to This explains the |
That makes sense. For now, I have resorted to monkey patching the hardcoded template on 4.5.5. However, as it stands, there are no versions of |
@erisu so the monkey patch isn't holding either it runs into npm issues and in general is a flakey solution. Is there any workaround you'd recommend or how can I use |
Should be fixed in the latest nightly build |
I need the fix for
target-deployment
to be available in my project as an upstream dependency needsminimum iOS 10
. Therefore, I tried to give5.0.0-dev
a try, with the latest nightly when I runcordova prepare ios
installation of every plugin fails withTypeError: plugin.getPodSpecs is not a function
I am not sure what's causing this so looking into it atm. However, it seems to break all plugins, is there any other way to force 4.x.x to usetarget-deployment
?The text was updated successfully, but these errors were encountered: