apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

IPHONEOS_DEPLOYMENT_TARGET is hardcoded to 8.0 and override does not work #1164

Closed laurentperez closed 1 year ago

laurentperez commented 2 years ago

Bug Report

Problem

What is expected to happen?

What does actually happen?

Information

Command or Code

Environment, Platform, Device

Version information

Checklist

pgib commented 2 years ago

Running into this as well. 😕

phablulo commented 2 years ago

is there any workaround for this?

peitschie commented 1 year ago

If I'm understanding this correctly... this appears to be simply how CocoaPods works:

Changing this value only changes the Pod project's own default deployment target, which does nothing for the deployment settings of any individual pods.

For example, in my own project, the deployment target here is aligning with the cordova preference I've set:

image

But, for each individual pod, the deployment target is still whatever is controlled by the pod specfile itself: image