由於Xcode 7和El Capitan無法將檔案導出到IPA文件中。當我完成流Export... > Save for Ad Hoc Deployment > Export (button)
它顯示了以下錯誤:Coulnd't find any platforms at all in /Applications/Xcode.app/Contents/Developer/Platforms
在El Capitan的Xcode 7上導出IPA錯誤
編輯:
這將是日誌的相關部分
在IDEDistribution.standard.log
{
code = 2109;
description = "couldn't find any platforms at all in /Applications/Xcode.app/Contents/Developer/Platforms";
info = {
};
level = ERROR;
}
In 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:
上市Platforms
目錄:
$ 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
請確保您添加appID並添加了分發提供配置文件。 –
你能否也請從顯示日誌按鈕發佈日誌? – Imran
你是否檢查過開發者帳號是否設置在鑰匙串中。 –