Skip to content
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

Version 17 breaks podfile with deployment-target #1389

Open
3 tasks done
phillipplum opened this issue Nov 30, 2023 · 2 comments
Open
3 tasks done

Version 17 breaks podfile with deployment-target #1389

phillipplum opened this issue Nov 30, 2023 · 2 comments

Comments

@phillipplum
Copy link

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
Copy link

lucaele commented Jan 3, 2024

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

@budda
Copy link

budda commented Jan 7, 2024

Same s/w versions as @lucaele and same Cordova issue around Podfiles and deployment-target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants