状況
xcodeバージョン
14.1 Release Candidate 2
ちなみにRC版だからかと思ってリリース版の14.0でも試してみましたがダメでした
エラー
Missing required icon. The application bundle does not contain an icon in ICNS format, containing both a 512x512 and a 512x512@2x image. For further assistance, see the Apple Human Interface Guidelines at https://developer.apple.com/macos/human-interface-guidelines/icons-and-images/app-icon (ID: 1fbe109c-5108-4ff3-9ad9-07d19a9a98bc)
原因
不明
解決方法
icon.icnsを作成して設定する
icon.icnsを作成する
どこでも良いのでicon.iconsetという名前でフォルダを作成します

512x512サイズのアイコンをicon_512x512.png
1024x1024サイズのアイコンをicon_512x512@2x.png
という名前でicon.iconsetの中にいれます。
iconutil --convert icns icon.iconset
icon.icnsを設定する
Assets内にあるAppIconを削除します

削除しました

先ほど作成したicon.icnsをXcode内にドラッグします

下記の設定にして「Finish」を選択します

Info.plistにIcon fileを追加します

Icon fileにicon.icnsを設定します

おわり
この対策方法が正しいかはわかりませんがエラーは出なくなりました




