一些平时遇到的bug总结
2012-12-27 17:32
477 查看
1./Users/UserName/Library/Developer/Xcode/DerivedData/xxx-beqfpakeslcfgjghvltweyjadfjk/Build/Intermediates/xxx.build/Debug-iphoneos/xxx.build/Script-B354780B144C8CA2002C6922.sh:
line 4: /Developer/xcode-crack/gen_entitlements.py: No such file or directory
解决方法:Targets->Build Phases中删除Run Script
运行 问题解决
2. Could not change executable permissions on the application.
造成的原因是因为设备存在一个相同证书,这个时候只要删除设备上相同证书的应用,就可以了
3.linker command failed with exit code 1 (use -v to see invocation)
这个问题的解决方式是在Build Settings里面将 Build Active Architecture Only 设置为YES,这个参数设置代表是否根据代码自动设置SDK编译
4.libxml2.dylb 添加后 引用不了<libxml/tree.h>
XCODE , Project -> Edit Project Settings -> Build You need to add “/usr/include/libxml2″ to the “Header Search Paths” and you need to add “-lxml2″ to
the “Other Linker Flags”.
5.如何解决“My mac 64-bit”问题
这种情况一般是从其他mac电脑copy过来项目造成的
解决方式:首先关闭xcode 然后在目录下会看到一个.xcodeproj后缀的文件,右键,显示包内容,然后删除里面xcuserdata的文件夹,重新启动xcode,就可以了
6.
“A valid provisioning profile for this executable was not found.”
在开发时真机测试遇到这个问题,原因是因为之前发布过应用,在target的code signing中的code signing identity已经置为iphone Distribution发布状态,改为iphone Developer就ok了。
7.
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/tiantianyundong/Desktop/工程/traffic/traffic/classes/voice/VoiceConvert/lib/libopencore-amrnb.a for architecture armv7s
通过PROJECT-Build Setting,然后把Build Active Architecture Only的值设置为Yes。
line 4: /Developer/xcode-crack/gen_entitlements.py: No such file or directory
解决方法:Targets->Build Phases中删除Run Script
运行 问题解决
2. Could not change executable permissions on the application.
造成的原因是因为设备存在一个相同证书,这个时候只要删除设备上相同证书的应用,就可以了
3.linker command failed with exit code 1 (use -v to see invocation)
这个问题的解决方式是在Build Settings里面将 Build Active Architecture Only 设置为YES,这个参数设置代表是否根据代码自动设置SDK编译
4.libxml2.dylb 添加后 引用不了<libxml/tree.h>
XCODE , Project -> Edit Project Settings -> Build You need to add “/usr/include/libxml2″ to the “Header Search Paths” and you need to add “-lxml2″ to
the “Other Linker Flags”.
5.如何解决“My mac 64-bit”问题
这种情况一般是从其他mac电脑copy过来项目造成的
解决方式:首先关闭xcode 然后在目录下会看到一个.xcodeproj后缀的文件,右键,显示包内容,然后删除里面xcuserdata的文件夹,重新启动xcode,就可以了
6.
“A valid provisioning profile for this executable was not found.”
在开发时真机测试遇到这个问题,原因是因为之前发布过应用,在target的code signing中的code signing identity已经置为iphone Distribution发布状态,改为iphone Developer就ok了。
7.
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/tiantianyundong/Desktop/工程/traffic/traffic/classes/voice/VoiceConvert/lib/libopencore-amrnb.a for architecture armv7s
通过PROJECT-Build Setting,然后把Build Active Architecture Only的值设置为Yes。
相关文章推荐
- HTML/CSS中常遇到的bug 一些注意事项总结
- 【MarketAnalysis总结】8.0项目中遇到的一些典型的bug及其解决方法
- 最近做项目遇到的一些问题总结
- 笔试面试中遇到的一些智力题总结和思考,欢迎补充和指正
- 平时遇到的一些坑,记录一下!!!!!!
- 总结一些常用web开发遇到的小问题及技巧。(不定时更新)
- 这回又来个 ionic2 的微信支付!(遇到一些莫名的BUG)
- 近期学习javascript和jquery遇到一些问题的技巧知识总结
- android开发中遇到的一些bug
- 跑酷游戏的一些bug总结(滥用FixedUpdate的坑)
- Jquery封装之拖拽解决遇到的一些小bug
- 一些改bug遇到的奇怪问题
- vue项目遇到的一些问题总结
- 在做进销存系统的过程中经常遇到获取时间查询的一些总结
- findbug 发现的一些隐藏问题总结
- 自己总结遇到的mysql的一些问题
- 杂谈 ----- 程序员处理 bug 的一些经验总结
- Eclipse配置不同JDK版本遇到的一些问题与总结
- 牛客网刷面试题遇到的一些问题的总结
- Eclipse插件开发中遇到的一些异常总结