IOS编译过程出现过的错误汇总

本文针对iOS开发过程中遇到的四个典型错误提供了详细的解决方案,包括设置委托时的类型不匹配警告、不可达场景配置、链接器失败及未捕获的NSException异常终止等问题。
  1. sending 'MainViewConroller *const_strong' to parameter of incompatible type '<NSFileManagerDelegate> 错误

    解决方案:http://stackoverflow.com/questions/24248825/getting-a-warning-setting-up-delegate-for-a-custom-protocol

2.Unsupported Configuration    Scene is unreachable due to lack of entry points and 
does not have an identifier for runtime access via 
-instantiateViewControllerWithIdentifier:.

解决方案:http://stackoverflow.com/questions/13531035/xcode-scene-is-unreachable-due-to-lack-of-entry-points-but-cant-find-it

3.

I am receiving the following error message: linker command failed with exit code 1 (use -v to see invocation)

This is happening with Apple's 'Your third iOS app' demo program. There are no dynamic errors displayed. The error message detail goes on to say; ld: duplicate symbol _OBJC_IVAR_$_STESimpleTextDocument._documentText in /Users/chris/Library/...

解决方案:http://stackoverflow.com/questions/10097489/xcode-linking-failure-message-what-does-it-mean

143345_KxWT_855532.png

4.

terminating with uncaught exception of type NSException

174433_DFBG_855532.png

解决方案:http://stackoverflow.com/questions/17769245/terminating-with-uncaught-exception-of-type-nsexception

 

转载于:https://my.oschina.net/CeShiXiaoSongShu/blog/368009

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值