7

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

ここに画像の説明を入力

編集:

これは、ログの関連部分になります

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:

リスト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
4

3 に答える 3

1

また、次の手順に従ってこのエラーを削除することもできます。

1) ターゲットに移動

2) ビルド設定 > NO を「ビットコードを有効にする」に設定します。

3) アーカイブを再試行します。

于 2016-04-11T10:02:14.950 に答える
1

展開ターゲットを変更します。プロジェクトを消去する プロジェクトをビルドしてアーカイブします。あなたはそれを取得します。

于 2015-10-06T09:55:33.493 に答える