少了 AppIcon 的我該怎麼辦

當我們建立 Xcode 專案後,一開始 Assets.xcassets 即為我們貼心地準備好 AppIcon,方便我們加入 App 的 icon 圖片。

不過,如果我們不小心將 Assets.xcassets 的 AppIcon 刪除,將產生很可怕的紅色錯誤,連 App 都無法生成 !
None of the input catalogs contained a matching stickers icon set or app icon set named “AppIcon”.

解法:

在 Assets.xcassets 的左邊區塊按右鍵,從選單裡點選 App Icons & Launch Images > New iOS App Icon,重新產生 AppIcon。

彼得潘的 Swift iOS App 開發問題解答集

彼得潘和學生們在開發 iOS App 路上曾經解決的問題集

)
彼得潘的 iOS App Neverland

Written by

彼得潘的 Swift 程式設計入門,App程式設計入門作者,彼得潘的iOS App程式設計入門,文組生的iOS App程式設計入門講師,http://apppeterpan.strikingly.com

彼得潘的 Swift iOS App 開發問題解答集

彼得潘和學生們在開發 iOS App 路上曾經解決的問題集

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade