ios – 在El Capitan的Xcode 7上导出IPA错误

前端之家收集整理的这篇文章主要介绍了ios – 在El Capitan的Xcode 7上导出IPA错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
由于 Xcode 7和El Capitan I无法将存档导出到IPA文件中.当我完成流程导出…>保存进行特别部署>导出(按钮)它显示以下错误:在/Applications/Xcode.app/Contents/Developer/Platforms中完全找不到任何平台

编辑:

这将是日志的相关部分

在IDEDistribution.standard.log中

{
  code = 2109;
  description = "couldn't find any platforms at all in /Applications/Xcode.app/Contents/Developer/Platforms";
  info =             {
  };
  level = ERROR;
}

在IDEDistribution.critical.log中

2015-10-06 06:50:04 +0000 [MT] Presenting: Error Domain=IDEFoundationErrorDomain Code=1 "couldn't find any platforms at all in /Applications/Xcode.app/Contents/Developer/Platforms" UserInfo={NSLocalizedDescription=couldn't find any platforms at all in /Applications/Xcode.app/Contents/Developer/Platforms}

编辑2:

列出平台目录:

$ls -l /Applications/Xcode.app/Contents/Developer/Platforms
total 0
drwxr-xr-x  9 root  wheel  306  2 oct 10:12 MacOSX.platform
drwxrwxr-x  8 root  wheel  272  2 oct 10:12 WatchOS.platform
drwxr-xr-x  6 root  wheel  204  2 oct 10:13 WatchSimulator.platform
drwxr-xr-x  8 root  wheel  272  2 oct 10:13 iPhoneOS.platform
drwxr-xr-x  5 root  wheel  170  2 oct 10:14 iPhoneSimulator.platform

解决方法

导出IPA时,取消选中对话框中的“从bitcode导出”复选框.如果选中则表示您要测试从bitcode创建的构建.查看更多详情 here
原文链接:https://www.f2er.com/iOS/332520.html

猜你在找的iOS相关文章