[2014-10-18]iOS8开发错误整理(持…
2015-06-26 09:20
459 查看
1、问题一:
file'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h'
has been modified since the precompiled header
'/Users/pengrun/Library/Developer/Xcode/DerivedData/project***-glkewxbzvsfsubbpgmwoqhfxeutk/Build/Intermediates/PrecompiledHeaders/project***-Prefix-algjbegmcymyyrgoosigycqetmoe/project***-Prefix.pch.pch'
was built
解决办法:先退出xcode,再把/Users/pengrun/Library/Developer/Xcode/DerivedData/下面的东西都删除(DerivedData本身不要删),再启动xcode,再rebuild.
(Pengrun 换成你的电脑名。)
2、问题二:
error: failed to
launch"/private/var/mobile/Applications/XX"-- timed out waiting for
app to launch
解决办法:证书不对,比如,debug里面选了release证书
3、问题三:
CodeSign error: code signing is required for product type
'Application' in SDK 'iOS 8.0'
解决办法:
把Any iOS SDK 从 Dont Code
Sign改为developer就好了
4、问题四
objc_msgSend()报错Too many arguments to function call ,expected
0,have3
解决办法:
Build Setting--> Apple LLVM 6.0 - Preprocessing--> Enable
Strict Checking of objc_msgSend Calls 改为
NO
file'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h'
has been modified since the precompiled header
'/Users/pengrun/Library/Developer/Xcode/DerivedData/project***-glkewxbzvsfsubbpgmwoqhfxeutk/Build/Intermediates/PrecompiledHeaders/project***-Prefix-algjbegmcymyyrgoosigycqetmoe/project***-Prefix.pch.pch'
was built
解决办法:先退出xcode,再把/Users/pengrun/Library/Developer/Xcode/DerivedData/下面的东西都删除(DerivedData本身不要删),再启动xcode,再rebuild.
(Pengrun 换成你的电脑名。)
2、问题二:
error: failed to
launch"/private/var/mobile/Applications/XX"-- timed out waiting for
app to launch
解决办法:证书不对,比如,debug里面选了release证书
3、问题三:
CodeSign error: code signing is required for product type
'Application' in SDK 'iOS 8.0'
解决办法:
把Any iOS SDK 从 Dont Code
Sign改为developer就好了
4、问题四
objc_msgSend()报错Too many arguments to function call ,expected
0,have3
解决办法:
Build Setting--> Apple LLVM 6.0 - Preprocessing--> Enable
Strict Checking of objc_msgSend Calls 改为
NO
相关文章推荐
- iOS开发之在地图上绘制出你运行的…
- 【2013-5-9】【iOS学习笔记】单独…
- 【2013-6-18】【iOS学习笔记】IOS…
- 【2013-8-15】【iOS学习笔记】傻瓜…
- [2014-02-17]自定义ios7标题栏和状…
- [2014-03-19]iOS7 ARC和非ARC…
- [2014-03-19]iOS7 ARC和非ARC…
- [2014-03-25]iOS NSString、…
- IOS7 -系列译文:忘记N…
- [2014-03-27]iOS内置库POST异步
- ios5 xcode 4.3 中 release 显示编…
- iOS SDK: How to creating an Awes…
- 【2012.08.06】iOS学习之JSON解析
- 【2012.08.24】iOS学习之同时创建n…
- 【2012.9.26】iOS客户端开发与Web…
- IOS学习网址之Core Animation入门
- IOS学习论坛
- iOS 实现QQ未读消息数量弹性按钮动画
- iOS 学习资料整理
- 【笔记】iOS开发基础笔记<二>