·您现在的位置: 云翼网络 >> 文章中心 >> 网站建设 >> app软件开发 >> IOS开发 >> xcodearchive后提示找不到icon

xcodearchive后提示找不到icon

作者:佚名      IOS开发编辑:admin      更新时间:2022-07-23

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