|
Post by jontara on Oct 2, 2017 6:41:06 GMT
How to set minimum iOS version for command-line build?
I tried build.yml:
iphone: info_plist_data: MinimumOSVersion: '10.0'
But it is still set to 6.0 in Info.plist.
I also tried
iphone: info_plist_data_remove: - MinimumOSVersion info_plist_data: MinimumOSVersion: '10.0'
But it does not override the value in Info.plist.
I did determine that it works for other keys - because I accidentally got the case wrong:
MinimumOsVersion
In that case, it was added to Info.plist, but of course did not achieve what I wanted.
I searched latest 6.0 source from current 6-0-stable. There are no occurrences of MinimumOSVersion!
|
|
|
Post by Dmitry Soldatenkov on Oct 2, 2017 12:44:48 GMT
|
|
|
Post by jontara on Oct 2, 2017 18:54:25 GMT
^ Dmitry, will this work for command-line build, though? I don't setup XCode project or build from GUI.
Even if I change the template in the Gem, I think this would only have an effect when I setup xcode project, and so would just save me the trouble of modifying it myself after setup.
Do you recommend against command-line build? It is appearing to me that as a practical matter, it won't be possible to build for App Store using command-line? There are too many things that need to be set in xcode project that I have no control over when I build command line. Is that correct?
|
|
|
Post by Dmitry Soldatenkov on Oct 2, 2017 19:01:14 GMT
We do not support change this option from build.yml currently. You can request it from us or make by self via script for make changes in generated XCode project. If you modify template all generated XCode project(by rake build:iphone:setup_xcode_project or any iOS build rake command) will have updated value. But you should remove previous generated project before generate new.
|
|
|
Post by jontara on Oct 3, 2017 1:47:11 GMT
How do you modify the XCode project? There is this: github.com/CocoaPods/XcodeprojBut I guess you use something else, because I do not see it in the installed Gems.
|
|