简体   繁体   中英

Xcode: Warning about App icon after Archiving app

I have a problem and I searched the whole internet, but couldn't find the right solution.

I want to Archive my app, everything gone well, but every time I get a error:

Xcode有关图像的警告

See here what the error says.

I have already tried a lot, like renaming the Icon files and putting them in my Info.plist, but it all did not work. This is really frustrating, does someone has the same problem and found a solution? Or can somebody help me?

Thanks

Open your [APP-NAME]-Info.plist with right mouse button and choose "Open As" -> "Source Code" then search for

<string>Appicon40x40</string>
<string>Appicon60x60</string>

and remove this lines.

If you really want them on your app check if the file name is correct (aren't you missing the .png part?)

It should work now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM