You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "phillipplum (via GitHub)" <gi...@apache.org> on 2023/11/30 10:23:24 UTC
[I] Version 17 breaks podfile with deployment-target [cordova-ios]
phillipplum opened a new issue, #1389:
URL: https://github.com/apache/cordova-ios/issues/1389
# 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
<!-- What command or code is needed to reproduce the problem? -->
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
Cordova: 12.0.0 (cordova-lib@12.0.1)
macOS: 14.1
Xcode: 15.0.1
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Version 17 breaks podfile with deployment-target [cordova-ios]
Posted by "lucaele (via GitHub)" <gi...@apache.org>.
lucaele commented on issue #1389:
URL: https://github.com/apache/cordova-ios/issues/1389#issuecomment-1876067038
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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Version 17 breaks podfile with deployment-target [cordova-ios]
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue commented on issue #1389:
URL: https://github.com/apache/cordova-ios/issues/1389#issuecomment-2888660888
I think this will have been fixed by https://github.com/apache/cordova-ios/pull/1502
Essentially, you need the `deployment-target` set in config.xml before any plugins are installed that add to the Podfile. Previously that wasn't possible, but it should work as of cordova-ios 8.0.0.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Version 17 breaks podfile with deployment-target [cordova-ios]
Posted by "budda (via GitHub)" <gi...@apache.org>.
budda commented on issue #1389:
URL: https://github.com/apache/cordova-ios/issues/1389#issuecomment-1880170893
Same s/w versions as @lucaele and same Cordova issue around Podfiles and deployment-target.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Version 17 breaks podfile with deployment-target [cordova-ios]
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue closed issue #1389: Version 17 breaks podfile with deployment-target
URL: https://github.com/apache/cordova-ios/issues/1389
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org