xcode archive后提示找不到icon

archive后发现包里面的有些icon后缀从png改成tiff了,所以就提示找不到icon.以下是解决办法:

  You need to open the project that generates the external resources bundle, select the target, go to Build Settings and then the Deployment sub-heading, and set "Combine High Resolution Artwork" to No. Then recompile the external resources bundle.

  If you don't see the setting, in the bundle settings change base SDK to Mac OS X, then change the setting to no, and change base SDK back to iOS. Even though the option is not available it seems to still be applied during build time.

或者

-> build settings -> COMBINE_HIDPI_IMAGES to NO

这种方法我没有试,不过用第一种方法之后,发现COMBINE_HIDPI_IMAGES也是从YES变成了NO

原文地址:https://www.cnblogs.com/zwind/p/4121592.html