Version 17 breaks podfile with deployment-target
phillipplum opened this issue · 2 comments
phillipplum commented
Bug Report
Problem
I have a correct Podfile when creating the iOS platform and a plugin (in this case Wonderpush).
# DO NOT MODIFY -- auto-generated by Apache Cordova
platform :ios, '14.0'
use_frameworks!
target 'App' do
project 'App.xcodeproj'
pod 'WonderPush', '4.1.6'
end
target 'WonderPushNotificationServiceExtension' do
platform :ios, '10.0'
use_frameworks!
pod 'WonderPushExtension', '4.1.6'
end
Now I add the deployment-target
to config.xml
(it doesn't matter which version or whether it is influenced by a plugin, for example):
<preference name="deployment-target" value="14.0" />
If you now run a cordova build
, the Podfile looks like this and therefore no longer works correctly:
# DO NOT MODIFY -- auto-generated by Apache Cordova
platform :ios, '14.0'
use_frameworks!
target 'App' do
project 'App.xcodeproj'
pod 'WonderPush', '4.1.6'
pod 'WonderPushExtension', '4.1.6'
end
Command or Code
Environment, Platform, Device
Version information
Cordova: 12.0.0 (cordova-lib@12.0.1)
macOS: 14.1
Xcode: 15.0.1
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
lucaele commented
Same issue:
cordova: 12.0.0 (cordova-lib@12.0.1)
macOS: 13.5.2
Xcode: 15.1
cordova-ios: 7.0.1
Any fix?
Thanks