当前位置:网站首页>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
边栏推荐
- 杰理之关于 DAC 输出功率问题【篇】
- Codeforces round 264 (Div. 2) C gargari and Bishop [violence]
- 【安全的办公和生产力应用程序】上海道宁为您提供ONLYOFFICE下载、试用、教程
- How-PIL-to-Tensor
- mos管实现主副电源自动切换电路,并且“零”压降,静态电流20uA
- Redis getting started complete tutorial: replication topology
- Simple bubble sort
- Redis入門完整教程:問題定比特與優化
- Data analysis from the perspective of control theory
- Redis入门完整教程:复制拓扑
猜你喜欢
腾讯云原生数据库TDSQL-C入选信通院《云原生产品目录》
How-PIL-to-Tensor
The whole process of knowledge map construction
Redis入门完整教程:问题定位与优化
Install redis from zero
Redis getting started complete tutorial: replication topology
知识图谱构建全流程
Hazel engine learning (V)
A complete tutorial for getting started with redis: problem location and optimization
Babbitt | metauniverse daily must read: is IP authorization the way to break the circle of NFT? What are the difficulties? How should holder choose the cooperation platform
随机推荐
Leetcode 77: combination
unrecognized selector sent to instance 0x10b34e810
又一百万量子比特!以色列光量子初创公司完成1500万美元融资
Shell 编程基础
QT Bluetooth: qbluetooth DeviceInfo
Unity使用MaskableGraphic画一条带箭头的线
从 1.5 开始搭建一个微服务框架——日志追踪 traceId
C language string sorting
mos管实现主副电源自动切换电路,并且“零”压降,静态电流20uA
Hazel engine learning (V)
密码学系列之:在线证书状态协议OCSP详解
Error: could not find a version that satisfies the requirement xxxxx (from versions: none) solutions
The first symposium on "quantum computing + application of financial technology" was successfully held in Beijing
A complete tutorial for getting started with redis: problem location and optimization
上个厕所的功夫,就把定时任务的三种调度策略说得明明白白
【安全的办公和生产力应用程序】上海道宁为您提供ONLYOFFICE下载、试用、教程
简单冒泡排序
The version control of 2021 version is missing. Handling method
input_delay
[secretly kill little partner pytorch20 days] - [Day1] - [example of structured data modeling process]