我正在尝试使用以下命令
通过命令行构建和存档项目以创建.ipa$ xcodebuild archive -project test.xcodeproj -scheme "Test" -archivePath /build
但它给出了以下错误
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/user1/Library/Developer/Xcode/DerivedData/test-gymccixkvyhthdhhxixgplbqdrhk/Build/Intermediates/ArchiveIntermediates/Test/IntermediateBuildFilesPath/test.build/Release-iphoneos/Test.build/Objects-normal/arm64/Test normal arm64
Ld /Users/user1/Library/Developer/Xcode/DerivedData/test-gymccixkvyhthdhhxixgplbqdrhk/Build/Intermediates/ArchiveIntermediates/Test/IntermediateBuildFilesPath/test.build/Release-iphoneos/Test.build/Objects-normal/armv7/Test normal armv7
我错过了什么吗?
答案 0 :(得分:0)
我们需要更多信息。但我怀疑/ build不是可写的目录。
有关如何使用脚本构建的好例子,请参阅此项目:
https://github.com/calabash/ios-smoke-test-app/blob/master/CalSmokeApp/Makefile