在使用iOS 10升级到Xcode8之后,我得到的正是这个错误。我正在使用最新的El Capitan,并使用以下版本的ruby (我通过rvm更新,与系统版本2.0.0相同)和CFPropertyList:
Philipps-MacBook-Pro:mobile-sdk prakuschan$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
Philipps-MacBook-Pro:mobile-sdk prakuschan$ gem list CF
*** LOCAL GEMS ***
CFPropertyList (2.3.3)
xcodebuild -exportArchive命令在shell脚本中执行,在成功归档之后,我得到以下错误:
** ARCHIVE SUCCEEDED **
2016-09-22 10:02:16.460 xcodebuild[10375:8369748] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/9y/r64c9wld0jx2yf3glsrzhhr00000gn/T/AppName_2016-09-22_10-02-16.456.xcdistributionlogs'.
2016-09-22 10:02:18.228 xcodebuild[10375:8369748] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fe435f9dfb0>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
error: exportArchive: No applicable devices found.
Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
** EXPORT FAILED **
查看xcdistributionlog时,IDEDistribution.standard.log的末尾包含以下行:
2016-09-22 08:02:18 +0000 [MT] /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool exited with a signal 6
2016-09-22 08:02:18 +0000 [MT] ipatool JSON: (null)
我不知道它是否有价值,但这是通向ipatool的道路:
2016-09-22 08:02:17 +0000 [MT] Running /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool
任何帮助都是非常感谢的。我已经尝试了在谷歌上找到的许多建议,但还没有找到解决方案。
发布于 2016-10-12 04:26:55
我是在我的企业项目中包含第三方框架时获得Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found."
的。我的exportOptionsPlist
文件包含compileBitcode=NO
条目,但项目本身仍然启用了bitcode。
我还使用了/var/folders/.../IDEDistribution.standard.log
上的日志,发现了一个更清晰的错误,这使我找到了解决方案。
更多信息:https://developer.apple.com/library/content/technotes/tn2432/_index.html
发布于 2017-03-16 15:56:45
就这样!设置bitcode = no
,错误就被修复了。
发布于 2016-12-15 23:37:01
@Tom Harada answers对我很有效,但我想找出是什么原因导致默认ipatool
崩溃。
这是Google Cast 3.2SDK,它缺少了plist框架的一个条目。将其更新到3.3解决了导出问题。
参考文献:https://code.google.com/p/google-cast-sdk/issues/detail?id=954 https://github.com/fastlane/fastlane/issues/6223#issuecomment-267343853
https://stackoverflow.com/questions/39634404
复制相似问题