xcodebuild -exportArchive: exportOptionsPlist error for key 'method': expected one of {}
问题 I'm using command line xcodebuild tool to export ad-hoc distribution ipa file out of my archive like this: xcodebuild -exportArchive -archivePath /path/Archive.xcarchive -exportPath /path -exportOptionsPlist /path/options.plist However, this command fails with error exportArchive: exportOptionsPlist error for key 'method': expected one of {}, but found ad-hoc No mater what 'method' I provide in my export options plist, it always fails with this error. It also fails if I remove the 'method'