You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "sc0ttdav3y (via GitHub)" <gi...@apache.org> on 2023/12/20 05:48:47 UTC
Re: [I] Xcode 15.0: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.0.99. [cordova-ios]
sc0ttdav3y commented on issue #1379:
URL: https://github.com/apache/cordova-ios/issues/1379#issuecomment-1863893381
Hi there!
I've got this as well, and I'm hoping someone with more brains than I can kindly point me in the right direction?
In my case, I run:
```
cordova build ios --debug
```
and I get:
```
/app/platforms/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment
target versions is 12.0 to 17.2.99. (in target 'XXXXXX' from project 'Pods')
```
where `XXXXXX` is repeated for a bunch of low-level pods. The pod names seem to be a dependency of a dependency so I'm not sure what they are, but I can see that one of them is `'CordovaLib' from project 'CordovaLib'` but there are many more as well.
In my `config.xml` I have set `<preference name="deployment-target" value="15.0" />`, and I can see the generated `Podfile` has this in it, so it appears to be honouring the preference:
```
# DO NOT MODIFY -- auto-generated by Apache Cordova
source 'https://cdn.cocoapods.org/'
platform :ios, '15.0'
use_frameworks!
target 'MyApp' do
project 'MyApp.xcodeproj'
pod 'CocoaLumberjack', '~> 3.7.2'
pod 'MLKitTextRecognition'
end
```
I'm not entirely sure what Cordova does under the hood beyond that, but I can see in XCode it shows iOS 11
as the deployment target despite the Podfile and the preference:
<img width="699" alt="Screenshot 2023-12-20 at 4 32 21 pm" src="https://github.com/apache/cordova-ios/assets/405607/888b01ec-26c1-454d-a999-de06c3171702">
Any help from the cordova-ios brains trust to point me in the right direction would be appreciated!
Also, love your work and 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