那些查了无数遍的问题

 

1、linker command failed with exit code 1

  1、检查引用文件是否出错,把xxx.h文件弄成了xxx.m文件,检查一下你的所有引用;

  2、在工作左边导航栏Target–>Build Phases–>compile Sources中,第三库库的所有.m文件时候重复添加。

  3、设置 Project -> Pods 下所有第三方库的 Build Active Architecture Only 为 NO

2、the document "xxx.xib" requires Sxode x.x or later

  

  将该xib文件用记事本打开,<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>  删掉

3、Xcode 插件所在的目录

  ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins

4、 证书问题

  Signing Identity:     "iPhone Developer: Lin Lu (EGBM8DQ4XN)"

  Provisioning Profile: "iOS Team Provisioning Profile: *"

                      (672dd1b0-7d08-4b69-a340-370289965772)

 

  72A35ADE52E3B2B76D71B8684BFF12CF8FAD7841: no identity found

  Command /usr/bin/codesign failed with exit code 1

 

  解决:查看钥匙串是否有过期或同名证书、过期搞个新的、同名删除旧的。xcode -> preferences -> accounts ->view Details -> Download All.

 5、process launch failed: failed to get the task for process xxxx

  TARGETS -> Build Settings -> Code Signing -> Code Signing Identity 下 iOS Distribution 更改为 iOS Developer

 6、this action cannot be completed -22421

  提交到app store的服务器连接不稳定,取消重新提交,不行就隔几分钟在提交。

 7、process launch failed: failed to get the task for process XXX

  证书问题,这样一般是选择了 ADHoc 证书,应更改为开发证书就ok了。

 8、Could not find Developer Disk Image 

  查看带叹号的设备,下载对应的包(例如:9.3 (13E230) ),解压 放到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 路径下,重启xcode。ok! 

 9、No matching function for call to ‘objc_msgSend’

   使用runtime的 objc_msgSend 方法时 需要设置 Enable Strict Checking of objc_msgSend Calls 为 No.

 10、reason: image not found

  

11、The device is locked.

  拔掉数据线再插上就OK了。 

 12、code signing is required for product type 'Framework' in SDK 'iOS 9.3'

  选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any ios SDK 将选项改为:iPhone Developer

 13、App installation failed

  1.手机已经安装了相同的app,但之前是用另一台电脑装的。

  2.免费真机调试只能装两个,而你当前装的是第三个。

 14、safe area layout guide before ios9.0

  

 

 15、Unknown class ViewController in Interface Builder file.

  原因是项目中删掉了ViewController.h/m,采用了自定义的viweController, 而main.storyboard中有用到原来的ViewController.h/m。

    解决办法是先删掉main.storyboard, 然后在info.plist文件中删掉main storybiard file base name一项

 

16、413-Request Entity Too Large

  原因是上传文件大小超过服务器限制,详情参考:这里

持续更新~~~

注:网络收集及自行总结。。。

posted @ 2017-10-17 09:38  zzlei  阅读(1099)  评论(0)    收藏  举报