Asset Catalog Compiler Warning Group
来源:互联网 发布:淘宝激光脱毛仪有用吗 编辑:程序博客网 时间:2024/06/05 05:44
今天下午在消除项目各类警告的时候,发现了下面这类警告:
Asset Catalog Compiler Warning Group
其中,有一类警告是这样的:Xcode把它叫做Ambiguous Content
描述:The app icon set “AppIcon” has an unassigned child.
有图有证据:
解决方案:
点击警告,在AppIcon预览里拉到底部,发现多了一个未赋值的子项,将其选中删除即可。
还有一类警告是这样的:Xcode把它叫做Missing Content
描述:
The file “Default.png” for the image set “LaunchImage” does not exist.
The file “Default@2x-1.png” for the image set “LaunchImage” does not exist.
The file “Default-568h@2x-1.png” for the image set “LaunchImage” does not exist.
有图有证据:
(根据这类警告的名称Missing Content,很明显是对应的文件内容缺失了)
解决方案:
1、右键单击警告项,“Show in Finder”跳转至本机目录下的资源文件中。
2、选中并打开Contents.json,寻找缺失的图片资源名称,并将其对应的内容删除,保存当前文件。
3、重新编译,警告消除。
阅读全文
0 0
- Asset Catalog Compiler Warning Group
- Empty Application won't compile, Asset Catalog Compiler Error
- iOS7 Asset Catalog
- asset catalog学习笔记
- Xcode 【Asset Catalog】
- Xcode5 Asset Catalog 使用备忘
- Xcode5 Asset Catalog 使用备忘
- Xcode 的 Asset Catalog的秘密
- 使用Asset Catalog 的Slicing的功能
- 使用asset catalog管理图片资源
- ios切图 Xcode5 Asset Catalog 使用备忘
- COM Plus Catalog Requirement(warning)
- C Compiler Warning Abstract
- Warning: strpos(): Empty delimiter in \catalog\con
- VisualC++2012 Compiler Warning C4566
- ios7 (xcode5)新特性-asset catalog与image slicing
- iOS7—Day by day—Day2:Asset Catalog
- xcode5(iOS7)新特性-asset catalog与image slicing
- 理解Android Binder架构
- JAVA集合
- 关于等价鞅、反等价鞅、剀利公式、赌徒输光定理(非常有启发意义)
- Boost组件实用工具
- SQLServer中Partition By 函数的使用
- Asset Catalog Compiler Warning Group
- lintcode--上一个排列
- Java基础学习之接口
- Android Studio 使用config.gradle 管理依赖库
- PHP的一个猜拳小游戏
- sql server 2005 通过存储过程发送邮件
- leetcode33题解_Search in Rotated Sorted Array
- 缩略图(缩略成圆形、按一定比例缩放)
- JVM参数设置、分析