I'm just looking into the implications of app thinning on our CI environment. We currently have Jenkins builiding our IPAs using xcodebuild on the command line with enterprise signing. These are wirelessly installed on devies using a manifest plist. Now that app thinning is in play, we would like to have xcodebuild create all the "thinned" variants, and then generate the approrriate manifiest plist to allow devices to select the correct IPA. Does anyone know if you can create thinned IPAs using xcodebuild on the command line? My search so far has come up empty.
xcodebuild and app thinning?
Looks like you can see capaibilities for this functionality in xcodebuild of the Xcode beta. Looks like you can do it with the -exportOprtionsPlist command line flag. A summarization...
Available keys for -exportOptionsPlist:
...
thinning : String
For non-App Store exports, should Xcode thin the package for one or more device variants? Available options: <none> (Xcode produces a non-thinned universal app), <thin-for-all-variants> (Xcode produces a universal app and all available thinned variants), or a model identifier for a specific device (e.g. "iPhone7,1"). Defaults to <none>.
...
Just use xcode-select to point at the Xcode beta application then run xcodebuild --help. You should get the above.