ios 异常错误分析 )(编译错误)

来源:互联网 发布:如何找风投 知乎 编辑:程序博客网 时间:2024/05/17 06:20

1.CodeSign error: code signing is required for product type Application in SDK iOS 4.X  

 

Edit Project Setting =》Build =》 Code Signing =》 Any ios 的值设置为iphone Developer


如果还不行,可以试试

Edit Project Setting 下面的那个菜单:Edit Active Target “Hello World” =》Build =》 Code Signing =》 Any ios 的值设置为iphone Developer



2. 在做push 获取 devecie token 时,如果返回了 3000 错误,提示找不到aps 字符串时, 除了要检查 appid 跟 proife 文件的对应外,如果是xcode4.3版本一下,还需要在 Entitlements.plist 文件中 添加 “aps-environment” 节点,取值 “development”。  另外,在开通了 push 后,最好把本地证书清除下,重新下载一份安装。

0 0