![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错总结
Jerry-01$
这个作者很懒,什么都没留下…
展开
-
Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 1
1.运行APP时出现如下报错2.解决方法如下,在图中所示的位置找到对应的图片删除就好了原创 2016-09-09 15:13:13 · 18444 阅读 · 1 评论 -
Error:ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations:
打包上传时报错:ERROR ITMS-90474: “Invalid Bundle. iPad Multitasking support requires these orientations: ‘UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLands原创 2017-06-28 10:53:47 · 1891 阅读 · 0 评论 -
[UILabel copyWithZone:]: unrecognized selector sent to instance
报错:[UILabel copyWithZone:]: unrecognized selector sent to instance我的原因是Xib中一个Label拉出来了两次,有两个名字,正常也不报错但只要一运行就会崩溃,删除其中一个名字就好了。原创 2017-06-09 14:01:47 · 1899 阅读 · 0 评论 -
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (40
介绍下前提,我们的APP分内外网登陆,内网网登陆时登录的URL是不同的,请求一个外网的发送短信的http请求,外网登录时可以发送成功但是内网登陆时失败,报错如下:Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo=原创 2017-01-07 23:04:53 · 27604 阅读 · 1 评论 -
uitabbarController的标签叠加在一起过一会才会恢复正常
跳转到uitabbarController时出现了下面的BUG我的部分代码如下: equipmentViewController * equip=[[equipmentViewControlleralloc]init]; myNavigationController *nav3=[selfNavigationControlle原创 2016-11-27 17:50:37 · 525 阅读 · 0 评论 -
The resource could not be loaded because the App Transport Security policy requires the use of a sec
网络请求报错如下:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection原因是iOS9后引入了新特性App Transport Security (ATS)新特性要求App内访问的网络必须使用HTTPS原创 2016-11-21 12:12:20 · 1873 阅读 · 0 评论 -
This app has crashed because it attempted to access privacy-sensitive data without a usage descripti
运行时报错如下:This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a原创 2016-11-07 17:13:26 · 2763 阅读 · 0 评论 -
ld: 219 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code
1.duplicate意思是重复的,大致意思是项目中出现了重名的文件名,修改下就好了。原创 2016-08-11 15:14:52 · 6132 阅读 · 0 评论 -
unrecognized selector sent to instance
unrecognized selector sent to instance解决的办法。1.打开Xcode,点击绿色的符号。2.点击左下角的 + 号。3.点击Add Symbolic Breakpoint..。4.在symbol后面填入-[NSObject(NSObject)doesNotRecognizeSelector:],然后ent原创 2016-08-10 19:02:00 · 818 阅读 · 0 评论 -
‘ ’ file not found with <angled> include; use “quotes” instead
1.我把第三方库copy到自己库里面时,报出这样的错误 file not found with angled include。。。2。这个通常是没有设置头文件,去设置下头文件就好了3.将对应的路径写入图中即可4.在运行就可以了大家也可以参考另一篇博主的博客:http://blog.csdn.net/dongccc/article/detail原创 2016-08-10 14:45:54 · 25655 阅读 · 0 评论 -
HTTP请求错误状态码大全status code: 404
这个是更加全面的HTTP请求错误状态码大全链接地址:http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html,下面只是常出现的部分。1xx(临时响应)表示临时响应并需要请求者继续执行操作的状态码。100(继续)请求者应当继续提出请求。服务器返回此代码表示已收到请求的第一部分,正在等待其余部分。原创 2016-09-10 15:16:11 · 42967 阅读 · 0 评论 -
pngcrush caught indicate limping error
Xcode模拟器运行没问题真机运行时出现错误pngcrush caught indicate limping error解决方法如下原因1. 是提示的png并不是ps导出的png,而是手动修改jpeg后缀名为png,在模拟器上不会报错,但在真机不识别这种所谓假的“png”图片。原因2:这是因为png图片的问题,png图片在存储的时候有一个NOT INTERLACED/INT原创 2016-09-09 17:21:28 · 375 阅读 · 0 评论 -
9223372036854775807
NSArray * arr=@[@"2",@"3",@"4",@"6",@"5",@"1"]; NSInteger row=[arrindexOfObject:@"9"]; NSLog(@"row===%ld",(long)row);打印出来的结果就是:row===9223372036854775807原因是你数组若包含特定元素,返回具体索引,否则返原创 2017-07-19 17:54:14 · 2488 阅读 · 0 评论