1、Automatic Preferred Max Layout Width is not available on iOS versions prior to 8.0
解决办法:Xib中选中某个Controller-》Show the file inspector -> Interfaces Builder Document -> Builds for ->ios8以上(但是做好的布局需要在ios7以上验证)
2、Storyboard:Scene is unreachable due to lack of entry points and does not have an identifier for runtime access
解决办法: 是因为在storyboard中的某个controller没有设置storyboardID的原因,给Controller添加一个storyboardID就行了
http://blog.csdn.net/freedom2028/article/details/8589375
3、类型不匹配问题
解决办法: 转换成对应的数据类型
4、Xcode不支持的配置:plain style unsupported in a Navigation Item
解决办法:在storyboard或xib中选中对应的controller->NavigationItem-》 Left/Right Bar Button Items ->选中某个Bar Button Item——》右侧Style-》Plain改为Bordered
5、API过期,
解决办法:替换成最新版的API
http://cocoadocs.org/docsets/AFNetworking/2.1.0/Classes/AFHTTPRequestSerializer.html
6、Storyboard:Unsupported Configuration: Prototype table cells must have reuse identifiers
解决办法:给Cell添加一个重用标识
7、Storyboard:Frame for "XXX" will be different at run time.
解决办法:这个View缺少完整的约束,添加完整的约束
8、Storyboard:Ambiguous Layout: Size and vertical position are ambiguous for "Add Address View".
解决办法:缺少约束
9、Storyboard:Unsupported Configuration: Segues initiated directly from view controllers must have an identifier for use with -[UIViewController performSegueWithIdentifier:sender:]
解决办法:segues没有设置标识,虽然有连线,这种一般都可以废弃或 重新添加标识,结合代码
http://stackoverflow.com/questions/24087250/segue-identifier-error
10、Images.xcassets:Missing Content: The file "credit_card_light.png" for the image set "credit_card_light" does not exist.
解决办法:引用的图片不存在,添加对应的图片
11、Images.xcassets: The image set name“xxx.png”is used by multiple image sets
解决办法:可能添加多个相同名字的图片,导致模糊不清,删除重复的图片
12、Xcode:Directory not found for option“-L path"
解决办法:可能删除了某个目录,但是项目中还会搜索这个目录,
Target-》build setting->search path ->去掉没有的搜索路径
13、Xcode: APP名称.app.DSYM 有warnings
解决办法:Target-》APP-》Build settings-》Build Options-》 Debug Information Format
DWARF With dSYM File 改为 DWARF
14、代码: 某个变量定义了但是没有被使用
解决办法:最好删除
网友评论