当前位置:网站首页>unrecognized selector sent to instance 0x10b34e810
unrecognized selector sent to instance 0x10b34e810
2022-07-07 03:11:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm the king of the whole stack
A mistake :
*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[NSURLError isEqualToString:]: unrecognized selector sent to instance 0x10b34e810’ *** First throw call stack:
(lldb) po 0x10b34e810 Error Domain=NSURLErrorDomain Code=-1004 “Could not connect to the server.” UserInfo=0x10a582670 {NSUnderlyingError=0x10a664e90 “Could not connect to the server.”, NSErrorFailingURLStringKey= , NSLocalizedDescription=Could not connect to the server.}
Print the 0x10b34e810 object , doubt NSError *error Forced to string Type of unsuccessful
Hang up here .
..
(lldb) po (NSString*)error Error Domain=NSURLErrorDomain Code=-1004 “Could not connect to the server.” UserInfo=0x10a5223a0 {NSUnderlyingError=0x10b181140 “Could not connect to the server.”, NSErrorFailingURLStringKey=, NSLocalizedDescription=Could not connect to the server.}
summary : The basic type of value can be converted ,nsobject Type cannot be forcibly converted ( General basic types can be forcibly converted .
int,float Can turn into string .
Can object types not be converted ..
example nsurl Cannot be converted into string..nserror Nor can it be converted into string) What a major common sense , And always forget .
Copyright notice : This article is the original article of the blogger , Blog , Do not reprint without permission .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/116774.html Link to the original text :https://javaforall.cn
边栏推荐
- 【基于 RT-Thread Studio的CPK-RA6M4 开发板环境搭建】
- Redis introduction complete tutorial: replication principle
- IDEA重启后无法创建Servlet文件的解决方案
- Andrews - multimedia programming
- “去虚向实”大潮下,百度智能云向实而生
- How-PIL-to-Tensor
- INS/GPS组合导航类型简介
- The version control of 2021 version is missing. Handling method
- leetcode-02(链表题)
- 巴比特 | 元宇宙每日必读:IP授权是NFT的破圈之路吗?它的难点在哪里?Holder该如何选择合作平台?...
猜你喜欢

首届“量子计算+金融科技应用”研讨会在京成功举办

Change your posture to do operation and maintenance! GOPs 2022 Shenzhen station highlights first!

centerX: 用中国特色社会主义的方式打开centernet

Household appliance industry under the "retail is king": what is the industry consensus?

Laravel php artisan 自动生成Model+Migrate+Controller 命令大全

Redis introduction complete tutorial: replication principle

Use of tensorboard

又一百万量子比特!以色列光量子初创公司完成1500万美元融资

Redis入门完整教程:问题定位与优化

从零安装Redis
随机推荐
2022年信息安全工程师考试大纲
Cocos2d-x Box2D物理引擎编译设置
Unity uses maskablegraphic to draw a line with an arrow
INS/GPS组合导航类型简介
如何分析粉丝兴趣?
新标杆!智慧化社会治理
2022 spring recruitment begins, and a collection of 10000 word interview questions will help you
Leetcode 77: combination
美国空军研究实验室《探索深度学习系统的脆弱性和稳健性》2022年最新85页技术报告
centerX: 用中国特色社会主义的方式打开centernet
Andrews - multimedia programming
SSL证书错误怎么办?浏览器常见SSL证书报错解决办法
ERROR: Could not find a version that satisfies the requirement xxxxx (from versions: none)解决办法
Laravel php artisan 自动生成Model+Migrate+Controller 命令大全
【Swift】学习笔记(一)——熟知 基础数据类型,编码风格,元组,主张
Household appliance industry under the "retail is king": what is the industry consensus?
Le tube MOS réalise le circuit de commutation automatique de l'alimentation principale et de l'alimentation auxiliaire, et la chute de tension "zéro", courant statique 20ua
HDU 4337 King Arthur's Knights 它输出一个哈密顿电路
How to find file accessed / created just feed minutes ago
PSINS中19维组合导航模块sinsgps详解(滤波部分)