代码改变世界

iOS 开发笔记-报错处理

2015-10-11 00:36  jiangys  阅读(357)  评论(0编辑  收藏  举报

1.xcode7报错:does not contain bitcode

解决方法:Build Settings 搜索 bitcode  将Enable Bitcode更改为NO即可

2.Code Sign error: No code signing identites found: No valid signing identities

 (i.e. certificate and private key pair) matching the team ID “E6F3H8ENQM” were found.

解决方法:xxx.xcodeproj 右键显示包内容--》打开project.pbxproj--》搜索“E6F3H8ENQM”并删除

接下来,设置Team为none,如下图

3.xcode7 在pods下,真机调试,报xxx

解决方法:

  1. info.plist增加Bundle display name
  2. 给工程product name 设置名称
  3. clear
  4. 检查是不是图片导致的。

 4.更新Xcode7 iOS9 后 SDWebImage 加载不了图片

解决方法:

  1. 在Info.plist中添加NSAppTransportSecurity类型Dictionary。
  2. 在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES