xcodebuild -exportArchive: exportOptionsPlist error for key 'method': expected one of {}

前端 未结 8 1417
被撕碎了的回忆
被撕碎了的回忆 2020-12-28 12:23

I\'m using command line xcodebuild tool to export ad-hoc distribution ipa file out of my archive like this:

xcodebuild -exportArchive -archivePath /path/Arch         


        
8条回答
  •  醉酒成梦
    2020-12-28 13:17

    Pavel P's solution was

    In my case one of my static libs did not have Skip Install enabled and this resulted in the same problem. When I set in xcode Skip Install to Yes for that project I fixed that problem.

    Along the same vein, I was calling "xcodebuild" and passing in SKIP_INSTALL=NO as an option.

    e.g.,

    xcodebuild clean analyze archive -workspace MyWorkspace.xcworkspace -scheme MyScheme -configuration Debug SKIP_INSTALL=NO -archivePath /MyPath/MyArchive.xcarchive
    

    Removing SKIP_INSTALL=NO in this case fixed my particular situation.

提交回复
热议问题