【发布时间】:2017-07-10 13:08:56
【问题描述】:
我正在使用 xcodebuild 在命令行上构建 iOS 项目。使用 Release 配置构建是可以的,它创建了 App.xcarchive。然后我尝试使用导出 App Store IPA 的存档,
xcodebuild -exportArchive -archivePath App.xcarchive -exportPath ~/output/ -exportOptionsPlist appstore.plist
我的 appstore.plist,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>teamID</key>
<string>T3AM1D</string>
<key>method</key>
<string>app-store</string>
</dict>
</plist
这给了我错误,
错误:exportArchive:操作无法完成。(IDEDistributionErrorDomain 错误 3。)
任何帮助将不胜感激。
【问题讨论】:
标签: ios build release xcodebuild