3

两天前它运行良好。

但是在6 月 22 日下午 4 点 UTC+3之后,导出失败并出现错误 - “错误:exportArchive:未找到适用的设备。 ”我阅读了有关此错误的每篇文章,每篇文章,但与我的错误无关。我没有安装 rvm,我的 Mac 上根本没有 CFPropertyList gem,除了 OS X SDK 内的 Xcode.app 中的那个。

我知道一点 Ruby,但不知道如何调试这个错误以及这个 gem 可以在哪里。你知道如何解决吗?我什至不明白是什么破坏了企业的 export ipa - 在这个构建代理上没有安装任何新的东西,只是从存储库中定期更新代码。


我使用 Xcode 版本 7.3.1 (7D1014) 和相同版本的命令行工具。我不使用快车道。位码已启用。导出到应用商店效果很好。

xcodebuild 命令行:

$ xcodebuild -exportArchive -exportOptionsPlist /Volumes/Agent/work/52b14e8c26a910b4/sources/myapp/Application/ExportOptions.plist -archivePath /Volumes/Agent/work/52b14e8c26a910b4/Artifacts/myapp-enterprise-1.0.0.362.xcarchive -exportPath /Volumes/Agent/work/52b14e8c26a910b4/Artifacts/myapp-enterprise-1.0.0.362.ipa
$ cat /Volumes/Agent/work/52b14e8c26a910b4/sources/myapp/Application/ExportOptions.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>U****9****</string>
    <key>method</key>
    <string>enterprise</string>
    <key>uploadSymbols</key>
    <true/>
</dict>
</plist>

完整的错误日志:

[16:36:00][Step 2/2] + xcodebuild -exportArchive -exportOptionsPlist /Volumes/Agent/work/52b14e8c26a910b4/sources/myapp/Application/ExportOptions.plist -archivePath /Volumes/Agent/work/52b14e8c26a910b4/Artifacts/myapp-enterprise-1.0.0.362.xcarchive -exportPath /Volumes/Agent/work/52b14e8c26a910b4/Artifacts/myapp-enterprise-1.0.0.362.ipa
[16:36:01][Step 2/2] 2016-06-24 16:41:22.239 xcodebuild[56839:14600947] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/5s/c4by9tm914nc_m4g7bylplwm0000gn/T/myapp_2016-06-24_16-41-22.239.xcdistributionlogs'.
[16:36:01][Step 2/2] 2016-06-24 16:41:22.258 xcodebuild[56839:14600947] [MT] DeveloperPortal: Using pre-existing current store at URL (file:///Users/buildserver/Library/Developer/Xcode/DeveloperPortal%207.3.1.db).
[16:36:01][Step 2/2] ** EXPORT FAILED **
[16:36:01][Step 2/2] 
[16:36:01][Step 2/2] 2016-06-24 16:41:22.773 xcodebuild[56839:14600947] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fa43ac7fea0>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
[16:36:01][Step 2/2] error: exportArchive: No applicable devices found.
[16:36:01][Step 2/2] 
[16:36:01][Step 2/2] Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
4

0 回答 0