Closed alexp25 closed 5 months ago
pods_ios_min_version
and pods_use_frameworks
are not preferences that Cordova reads, though it's possible that a third-party framework uses them.
deployment-target
is used, but it will only change the target for the app project, not the CordovaLib
project.
Closing as duplicate of: https://github.com/apache/cordova-ios/issues/1379
Same issue here
Bug Report
Problem
After upgrading to
cordova-ios@7
I get the following warning (which seems to break the build)What is expected to happen?
The
cordova build
should overrideIPHONEOS_DEPLOYMENT_TARGET
based on the specifieddeployment-target
What does actually happen?
The build fails with error code 65
Information
I looked into the generated Podfile and found out that it was missing the previously built-in fix mentioned here: https://developer.apple.com/forums/thread/656616
It was working with
cordova-ios@6
using these preferences in theconfig.xml
I tried to add this manually:
..but it gets overwritten every time I run
cordova build
Command or Code
cordova build
Environment, Platform, Device
macOS Sonoma cordova-ios@7.0.1 cordova@12.0.0 XCode 15.0.1
Version information
Checklist