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):
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
Bug Report
Problem
I have a correct Podfile when creating the iOS platform and a plugin (in this case Wonderpush).
Now I add the
deployment-target
toconfig.xml
(it doesn't matter which version or whether it is influenced by a plugin, for example):If you now run a
cordova build
, the Podfile looks like this and therefore no longer works correctly: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