exportOptionsPlist flag values

Do any of you know the parameters we can send to exportOptionsPlist via the plist?


http://www.matrixprojects.net/p/xcodebuild-export-options-plist


I need to specify "all" for devices, but I cannot guess what this key:value pair might be

Post not yet marked as solved Up vote post of steveriggins Down vote post of steveriggins
30k views

Replies

Looks like Xcode 7 GM's xcodebuild has some additonal help for those options.


xcodebuild --help

...
...
Available keys for -exportOptionsPlist:
...
...

this list shows method as a String but setting it to anything does this:



error: exportArchive: exportOptionsPlist error for key 'method': expected one of {}, but found { } Error Domain=IDEFoundationErrorDomain Code=1 "exportOptionsPlist error for key 'method': expected one of {}, but found { }" UserInfo=0x7fa2c3634540 {NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but found { }}

I have the same problem ...did anyone manage to fix this ?

this seems to happen if the archive is not in the correct format

http://stackoverflow.com/questions/32841300/xcodebuild-exportarchive-exportoptionsplist-error-for-key-method-expected-o