Xcode 10 archiving fails - only on command line (xcodebuild)

前端 未结 4 2041
攒了一身酷
攒了一身酷 2021-02-02 12:05

I\'m having issues with archiving on my CI machine (Jenkins), when running the process manually on the SAME machine but with the Xcode UI, everything works just fine.

T

4条回答
  •  天命终不由人
    2021-02-02 12:31

    A related case in which this error appears is by running:

    xcodebuild -scheme sharetec build

    In my case I just had to tune up a little more the parameters like this:

    xcodebuild -workspace [WP_NAME].xcworkspace -scheme [A_TARGET] -sdk iphoneos clean build

    So the error disappears.

提交回复
热议问题