How can I set the iOS deployment target of my project?What the default deployment target?
Use a macbook and setup a defold of mac edition.
I’m using defold in my MacPro
Then Project -> Bundle -> ios Applicaiton…
You don’t understand me, I mean the deployment target which can be set in build settings if I use Xcode:
I assume this value ends up in Info.plist? The default plist file is in builtins.
I search Info.plist and found no such setting
From Stackoverflow answer: When you build your application, your deployment target is reflected in the MinimumOSVersion entry in the application’s Info.plist file. For iOS apps, the MinimumOSVersion entry is used by the App Store to indicate the iOS release requirement.
Read more here - https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.htm
I create a single view app in Xcode, and found no MinimumOSVersion key in Info.plist.Why?
No idea. Let’s get some input from @Mathias_Westerdahl
As you mention, that is a build setting.
We currently build the engine and extension libraries with -miphoneos-version-min=8.0
And, in our Info.plist, we specify:
<key>MinimumOSVersion</key>
<string>8.0</string>
<key>DTPlatformBuild</key>
<string>16B91</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTPlatformVersion</key>
<string>8.0</string>
Edit:
As for why you don’t get it in your plist, Apple says this:
" Don’t specify MinimumOSVersion
in the Info.plist
file for apps built in Xcode. It uses the value of the Deployment Target in the General settings pane."
Thank you.Great answer.