cocos2dx APP图标文件更改(xcoder上传Archive ITMS-90032错误)
app图标的修改一直困扰着我,xcode下似乎找不到能修改的配置文件,或许它藏在某个不为人知的目录下。 百度谷歌了很多,最后不得不将proj.ios_mac/ios下的图片挨个替换所有Icon和Default开头的png文件。新的图片文件和原文件保持一样的名称和图片大小(像素和分辨率以及格式最好一致)。这样app的图标就会变成你想要的图标。貌似xcoder在某个文件里对不同的ios机型匹配了对应的icon图标和launch文件。 替换了所有的icon和default文件后,在上传app archive时会报如下错误: ERROR ITMS-90032:“Invalid Image Path-No image found at the path referenced under key 'CFBundleIconFiles':"Icon@2x.png'" 查看缺省的info.plist文件可以看到有如下定义: <key>CFBundleIconFiles~ipad</key> <array> <string>Icon-29</string> <string>Icon-50</string> <string>Icon-58</string> <string>Icon-80</string> <string>Icon-40</string> <string>Icon-100</string> <string>Icon-152</string> <string>Icon-76</string> <string>Icon-120</string> <string>Icon.png</string> <string>Icon@2x.png</string> <string>Icon-57.png</string> <string>Icon-114.png</string> <string>Icon-72.png</string> <string>Icon-144.png</string> </array> 其中coco2dx并没有生成需要的 Icon.png和Icon@2x.png:制作这两个文件放倒proj.ios_mac/ios即可:Icon.png 57*57像素 72像素分辨率 RGB Icon@2x.png:114*114像素 72像素分辨率 RGB clear项目然后重新生成archive上传即可。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- ruby-on-rails – 使用Rails的CanCan gem来处理h
- Exception in thread "main" net.sf.jso
- Analytic Functions in Oracle
- 用 Vue 来写 React 和 ReactNative
- ruby-on-rails – 如何在Rails 3.0.x中使用Sproc
- 深入浅析JSON.parse()、JSON.stringify()和eval(
- SQLite中的时间日期函数
- flex dispatchEvent 实例
- ruby-on-rails – 使用before_action过滤器的RSP
- exists oracle 的用法