xcodeで提出した際や、審査の登録時に、よくエラーになるので、発生したエラーなどを自分用にまとめています。
- Could not locate device support filesというエラー
- libpng error: CgBI: unhandled critical chunkっていうエラー
- xcodeでCould not find Developer Disk Imageとエラーになるとき
- Framework.framework/UnityFramework normal arm64
■ バイナリが無効
自動リジェクト。メールにて内容が記載されている場合がある
・ UIApplicationExitsOnSuspendに関すエラー
ITMS-90339: This bundle is invalid - The Info.plist contains an invalid key 'UIApplicationExitsOnSuspend' in bundle lifedays [lifedays.app]
【 解決方法 】
Info.plistにある Application does not run in background
を消す
App Store Connect Operation Error
ERROR ITMS-90725:"SDK Version Isuue This app was built with the iOS 12.1 SDK.As of June 30 2020, all apps for iPhone or Ipad must be built with the iOS 13 SDK or later ,inclued with Xcode 11 or later"
Could not locate device support filesというエラー
xcodeで実機テストができなくなった
Could not locate device support files.
This iPhone 6 is running iOS 12.3.1(XXXXX),which may not be supported by this version of xcode.
This iPhone 6s is running iOS 13.5.1 (XXXXX), which may not be supported by this version of Xcode.
ええー
って感じだけど、
iOS11.3のデバイスサポートファイルが無いよと怒られている。
らしい。
【 解決方法 】
1.ここのgitから不足しているデバイスサポートファイルをダウンロード
2.ダウンロードしたファイル(.dmg , .signature)を対象フォルダに格納
対象フォルダへは、xcodeを右クリックしてオプション→ファインダーに表示→アイコンを右クリックして→「パッケージの内容を表示」→Contensフォルダ内・・・以下パスをただる
※ なぜか一度では探せなかった・・・???
※ 詳しくは、こちらに書かれていました。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
格納するパスは、私の環境ではこっちのほうがわかりやすかったです。
具体的にはここでした。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
iPhoneOSDeviceSupportをいれると出来るようになるっぽい
→xcodeの再起動は必要!!
【ログ】
・ iOSバージョンとサポートファイルの対応バージョンがなかったため、iOSをバージョンアップしてみた。
【サポートファイル置場】
libpng error: CgBI: unhandled critical chunkっていうエラー
xcodeをバージョンアップするたび私は謎のエラーに遭遇する。
んで、
今回は、libpng error: CgBI: unhandled critical chunkっていうエラーに遭遇。
まんま同じ症状のかたが。
感謝しつつページを参考に。
Build Settingsから、
Remove Text Metadata From Png Filesの項目をYESからNOに変えると直った。
備忘録的に保存。
xcodeでCould not find Developer Disk Imageとエラーになるとき
備忘録。
xcodeを実機テストしようとすると、いきなりCould not find Developer Disk Imageっていうエラーがでた。
どうやらxcodeのバージョンをアップデートすると直る模様。
Framework.framework/UnityFramework normal arm64
xcworkspaceを開くようにする