Develop Tools: xCode 5.1
I write a demo for app settings feature. The tutorial url is here.
When I add a icon into app icon and build the code, I got this error "The app icon set named "AppIcon" did not have any applicable content.".
In this URL, I got the root cause.
Reason: iOS app must mach the iOS icon size policy in here.
Solution:
1.Delete App Icon segment in Images.xcassets.
2.Create a new App Icon segment in Images.xcassets. (It will add all iOS device icon size needness)
3.Modify the icon size to mach the icon size.
4.Drop into the icon set.
5.Rebuild.
这个东西 不知道啥时候开始 图标都严格要求了,之前记得随便拖一个到里面就能用的,现在却要严格 要求。
时间: 2024-10-10 06:50:55