xcode5 asset catalogs 由于图标尺寸错误导致编译问题解决[原创]

如下图,即使图片尺寸不规范,xcode5也可以正常预览(这里我提供的尺寸是57*57, 而需要的是120*120)

但编译运行失败,报的错是:

Images.xcassets: error: The app icon set named "AppIcon" did not have any applicable content.
Images.xcassets:./AppIcon.appiconset/[iphone][60x60][2x]: warning: AppIcon.appiconset/Icon.png is 57x57 but should be 120x120.

1

2

Images.xcassets: error: The app icon set named "AppIcon" did not have any applicable content.

Images.xcassets:./AppIcon.appiconset/[iphone][60x60][2x]: warning: AppIcon.appiconset/Icon.png is 57x57 but should be 120x120.

遇到这种错误需要按规范替换图片资源文件即可。

iOS7要求的图标尺寸与iOS6等老版本比较有些变化,包括iPhone和iPad,尺寸都有增加,各图标尺寸具体数值可参见官网的iOS App编程指南

xcode5 asset catalogs 由于图标尺寸错误导致编译问题解决[原创]

时间: 2024-08-09 22:02:11

xcode5 asset catalogs 由于图标尺寸错误导致编译问题解决[原创]的相关文章

Asset Catalog Help (一)---About Asset Catalogs

About Asset Catalogs Use asset catalogs to simplify management of images that are used by your app as part of its user interface. 使用asset catalogs可以简化应用程序中需要使用图片的管理,把它们作为用户界面的一部分. An asset catalog can include: 一个asset catalog可以包括以下内容: Image sets: Use

修改DNS域名转发器解决IP地址解析错误导致的网站不能访问

修改DNS域名转发器解决IP地址解析错误导致的网站不能访问 首先谢谢同事林路的指导,才能顺利解决问题 打开网站,访问一个域名,DNS解析到错误的IP地址,那么将不能正确访问该网站 1.使用8.8.8.8(google 公用dns定位本地dns解析和google解析),这里是zh.wikipedia.org ping zh.wikipedia.org     159.106.121.75(这个是很多dns异常解析的地址) nslookup -qt zh.wikipedia.org 8.8.8.8

iOS 设备尺寸以及图标尺寸

iPhone 4和iPod Touch 4有一个新的特性:在屏幕尺寸不变的前提下,分辨率提升一倍(320 x 480 => 640 x 960).苹果将这个特性命名为Retina. 用苹果的话讲: Retina显示屏的超高像素密度已超过人眼能分辨的范围. Retina对图像设计(图标.启动画面和其它所有像素有关的东西)有什么影响呢?如果我们的app要支持Retina,就要提供高分辨率的(宽x2,高x2)的图片.同时,为了支持没有Retina的设备,仍旧要准备低分辨率的版本.换言之,我们要准备两套

mysql连接错误导致用户blocked

1.每过一段时间线上业务就会出现如下错误: kHost 'XXXXX' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'Connection closed by foreign host 2.需要使用mysqladmin flush-hosts解锁用户 3.查看错误日志 4.查看官方文档对max_connect_errors的解释如下     当某用户连续的错误连接达到max_c

iOS 启动画面 App图标尺寸 设置

App图标尺寸如下: 启动画面图标尺寸如下: 参考尺寸及命名下: 编号 尺寸 命名 1 640?×?1136 [email protected] 2 640?×?1136 LaunchIma[email protected] 3   640?×?960 [email protected] 4  750?×?1334 [email protected]  5  1242?×?2208 [email protected] 6 320?×?480 LaunchImage-1.png  7   640?

eclipse启动tomcat,突然出现 fail to start错误,导致不能启动

尝试了 1.重新安装tomcat 2.重新在eclipse中配置tomcat服务器 都没能解决 ===================================== 最后看了一个外文的问答页,其中一个回答让仔细检查web.xml文件 肉眼还是看不出什么问题,但是把最后配置的一个servlet重新配一下就好了 注意:在配置web.xml的时候要按照xml的约束规则 排列各个标签的出现顺序 eclipse启动tomcat,突然出现 fail to start错误,导致不能启动,布布扣,bubu

iOS App Icon图标 尺寸规范

Commit to AppStore:1024*1024 //for App Icon[email protected]:180*180 //iPhone 6 Plus (@3x)[email protected]:120*120 //iPhone 6 and iPhone 5 (@2x)[email protected]:152*152 //iPad and iPad mini (@2x)Icon-76.png:76*76 //iPad 2 and iPad mini (@1x)Icon.pn

gcc参数-l传递顺序错误导致`undefined reference'的一点小结

刚才编译一个pthread的单文件程序, 使用的命令行是: gcc -o thread1 -lpthread thread1.c 结果报错: 1 $ gcc -o thread1 -lpthread thread1.c 2 /tmp/ccNqs6Bh.o: In function `main': 3 thread1.c:(.text+0x49): undefined reference to `pthread_create' 4 thread1.c:(.text+0x5f): undefined

Eclipse错误导致无法启动The workspace exited with unsaved changes in the previous session

MyOpenSUSE:/home/jin/workspace # tail -f .metadata/.log !SESSION 2014-05-04 11:35:58.869 -----------------------------------------------eclipse.buildId=4.3.2.M20140221-1700java.version=1.7.0_51java.vendor=Oracle CorporationBootLoader constants: OS=li