一 、 code signing is required for product type 'Application' in SDK 'iOS 9.2' 或其他 例如7.0等
在真机测试的时候往往会突然出现这样一个错误,code signing is required for product type 'Application' in SDK 'iOS 7.0' ,就是说代码签名证书不对劲。
解决方案,
1.选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any ios SDK 将选项改为:iPhone Developer
2.重新下载你的证书,或者修改通配符,或者说修改你的appid 。选择工程 -》Bundle Identifier 修改为最新的appid 。造成这种原因是因为你修改了你的app sdk版本。
如果还不行,可以试试
Edit Project Setting 下面的那个菜单:Edit Active Target “Hello World” =》Build =》 Code Signing =》 Any ios 的值设置为iphone Developer
duplicate symbol _OBJC_CLASS
错误:
ld: duplicate symbol _OBJC_CLASS_$_************ in ****************
一种可能性是你的项目的不同group里有着相同名称的类
第二种就suck了:
You could also get this error if you mistakenly let XCode's auto-complete for #import statements specify the '.m" file for the 'duplicate' class instead of the '.h'.
xcode的自动完成特性,在你导入头文件的时候,将".h"补成了".m"
错误:JSON text did not start with array or object and option to allow fragments not set
遇到了 去网上找。 答案不一 也没解决。
后来发现是 afnetworking 3.0 error的问题
直接用 %@ 打印 error 就会报这个错。
编绎报错,objc_msgSend too many arguments to function call,expected 0, have3
解决方法:
![]() |
|