
iOS常见错误
sky_2016
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
iOS之Undefined symbols for architecture armv7问题解决方法
我们在编译代码时,常常出来下面这样的错误原创 2014-11-11 13:17:39 · 4727 阅读 · 0 评论 -
iOS错误处理之[__NSArrayM 某一方法名:]: unrecognized selector sent to instance
我们在进行iOS开发时,经常会遇到一些某名的错误,程序一运行,就会退到main函数中报错,搞的我们一头雾水! 例如: -[__NSArrayM isEqualToString:]: unrecognized selector sent to instance 0x661de40 *** Terminating app due to uncaught exception 'NSInvalidAr原创 2014-12-01 21:42:25 · 7856 阅读 · 0 评论 -
iOS之xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") 错误处理
xcrun: error: active developer path ("/Volumes/MacX.cn/Xcode.app/Contents/Developer") does not exist, use xcode-select to change、 解决方法 在终端中修改你的CommandLine Tools的位置: xcode-select -switch /Appl原创 2014-12-13 11:11:10 · 9063 阅读 · 0 评论 -
iOS之Undefine symbols for architecture i386错误解决办法
因为别人编过, 所以,你需要在BuildSetting里面,把target和project里面的 FrameWork Search Path 和 Library Search Path 的值都给删掉, 就 everything goes fine了。 注意:上面的 -F报错删 FrameWork Search Path, 如果是-L报错删Library Search原创 2014-12-11 14:00:34 · 1122 阅读 · 0 评论 -
iOS错误之-Presenting view controllers on detached view controllers is discouraged
Presenting view controllers on detached view controllers is discouraged .的解决方法: [self.view.window.rootViewController presentViewController:controlleranimated:YEScompletion:nil]; 参考:http:/原创 2015-02-25 23:50:03 · 1243 阅读 · 0 评论 -
iOS开发错误之Attempting to badge the application icon but haven't received permiss
(1)原因 一切都是iOS8捣的鬼。您如果把模拟器换成iOS7.1或者更早的,就不会有这个问题。而现在在iOS8中要实现badge、alert和sound等都需要用户同意才能,因为这些都算做Notification“通知”,为了防止有些应用动不动给用户发送“通知”骚扰用户,所以在iOS8时,要“通知”必须要用户同意才行。 (2)解决思路:我们判断一下,如果系统版本大于等于8.0的话,我们就在用原创 2015-02-26 21:11:21 · 473 阅读 · 0 评论 -
iOS开发之-xcode 6 exporting ipa 提示 Your account already has a valid iOS distribution certificate 的另一种解决
本篇文章主要介绍了"xcode 6 exporting ipa 提示 Your account already has a valid iOS distribution certificate 的另一种解决方法 ",主要涉及到xcode 6 exporting ipa 提示 Your account already has a valid iOS distribution certificate原创 2015-05-14 14:54:27 · 2246 阅读 · 0 评论