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
新聞熱點
疑難解答