![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Error
人鱼呢喃
.差距.做一个平静的人.做一个善良的人.做一个微笑挂在嘴边.快乐放在心上的人.
展开
-
error: property's synthesized getter follows Cocoa naming convention for returning 'owned' objects I
error: property's synthesized getter follows Cocoa naming convention for returning 'owned' objectsIn file included from /Users/developer/Documents/StarShow/ShowWall/View/NewShowItemView.m:9:/Users原创 2014-09-24 15:00:20 · 1417 阅读 · 0 评论 -
Potential leak of an object stored into ‘colorS'
Potential leak of an object stored into 'colorS'Call to function 'CGColorSpaceCreateDeviceRGB' returns a Core Foundation object with a +1 retain countobject allocated and stored into 'colorS' is n原创 2015-03-24 18:24:47 · 1719 阅读 · 0 评论 -
与后台返回数据类型老是出错(文档和现实老是对接不上)
[__NSCFNumber length]: unrecognized selector sent to instance 0x1657c5c02014-09-24 14:47:39.170 StarShow[1948:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:原创 2015-03-24 18:54:26 · 818 阅读 · 0 评论 -
mutating method sent to immutable object
if (commentArray==nil) { commentArray = [[NSMutableArray alloc] init]; } commentArray = (NSMutableArray*)[responseObject objectForKey:@"comme原创 2015-03-24 18:50:50 · 817 阅读 · 0 评论 -
关于tableview的一些bug
about tableview bug内存压力而奔溃原因:cell没有被复用一般来说,对于cell的复用是这样子的:关于cell的复用:这里根据屏幕的高度,先创建第一个cell,第二个cell。当tabbleview向上滑动的时候,第一个cell渐渐移除屏幕,创建第三个cell,从屏幕下方进入显示。当第一个cell全部移除屏幕的时候会进入复用池,第四原创 2015-03-24 18:39:24 · 1356 阅读 · 0 评论 -
关于xib
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ShowView" nib but the view outlet was not set原创 2015-03-24 18:36:02 · 803 阅读 · 0 评论 -
关于注册了通知/监听 必须注销
An instance 0x15618e00 of class UITextView was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other o原创 2015-03-24 18:32:58 · 1524 阅读 · 0 评论 -
Product -> Analyze
http://www.cocoachina.com/ios/20150206/11121.htmlXcode Product -> Analyze出现蓝色的(黄色的是警告,蓝色的是bug,红色的是error)点击这个就会有箭头出现的哦原创 2015-03-24 18:26:48 · 1228 阅读 · 0 评论 -
在xcode系统的库文件里面进行了操作造成的bug
报错:file '/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h' has been modified sinc原创 2015-03-24 18:48:05 · 584 阅读 · 0 评论 -
关于collectionview的初始化
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'UICollectionView must be initialized with a non-nil layout parameter'-(void)_initPhotoShowView{ UICollection原创 2015-03-23 18:55:07 · 2014 阅读 · 0 评论 -
Undefined symbols for architecture armv7
这里我是因为类重复的原因。因为我把一个类的.m文件全部复制(command+a)给了另一个类,xcode可能会判定我的两个类相同(虽然类名字不同,.h也不同)Undefined symbols for architecture armv7 : xcode报这个错的时候比较多,其诱发这个错误的原因也有很多:(1)添加了第三方的东西(um,sharesdk,个推,原创 2015-03-23 18:53:04 · 714 阅读 · 0 评论 -
process launch failed: timed out trying to launch app
process launch failed: timed out trying to launch app打开Xcode的菜单product -> scheme -> edit scheme -> 在左侧选择Run xxx.app栏目,右侧选择Info标签,将Build Configuration的状态改为Debug,然后重新Command + R,正常运行了~(如果还是不行,请检原创 2015-03-23 19:00:01 · 1178 阅读 · 0 评论 -
Dictionary and Array value cannot be nil
Dictionary value cannot be nilTerminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert ni原创 2015-01-28 18:30:52 · 1568 阅读 · 0 评论 -
linker command failed with exit code 1 (use -v to see invocation)
linker command failed with exit code 1 (use -v to see invocation)出现这个错误的时候,看看第三方的库文件,或是自己写的类,多人合作开发的时候,有的会重复添加文件到工程,或是没有添加进工程等情况。一般报错这样子的错误的时候,前面会给出一大堆的信息,你就去看看具体的那个类或是文件的提醒,然后在这里搜索一下,原创 2014-10-22 14:35:18 · 866 阅读 · 0 评论 -
unrecognized selector sent to instance 0x10b34e810
报错:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSURLError isEqualToString:]: unrecognized selector sent to instance 0x10b34e810'*** First throw call st原创 2014-09-17 17:38:27 · 3561 阅读 · 0 评论 -
-[__NSCFNumber length]: unrecognized selector sent to instance 0x1657c5c0 2014-09-24 14:47:39.170 St
-[__NSCFNumber length]: unrecognized selector sent to instance 0x1657c5c02014-09-24 14:47:39.170 StarShow[1948:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason原创 2014-09-24 14:56:45 · 1814 阅读 · 0 评论 -
whose view is not in the window hierarchy!
whose view is not in the window hierarchy! [self presentViewController:tabbar animated:NO completion:NULL];不要在viewWillAppear 和 viewDidLoad 实现页面跳转viewDidAppear方法和viewDidLoad方法的区别在原创 2014-09-24 14:58:49 · 1138 阅读 · 0 评论 -
Potential leak of memory pointed to by 'machine'
Potential leak of memory pointed to by 'machine'NSString* zipPath=[NSStringstringWithFormat:@"{TIME=%@",[selfgetChuo_time]];size_tsize; sysctlbyname("hw.machine",NULL, &si原创 2015-03-24 18:21:43 · 4167 阅读 · 0 评论