[__NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x...

本文详细记录了解决iOS应用中遇到的一个错误问题的过程:-[__NSCFStringcountByEnumeratingWithState:objects:count:]:unrecognizedselector sent to instance 0x17deba00。通过分析错误堆栈和相关代码,最终确定并修复了导致错误的原因,确保了应用的稳定运行。

还真是一波未平一波又起,又出现了这个问题,详情如下:

-[__NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x17deba00
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x17deba00'
*** First throw call stack:
(0x2616d0d7 0x345ffc77 0x2617259d 0x26170479 0x2609f708 0x187137 0x1594ed 0x8d019b 0x8d0187 0x8d3e9d 0x26132669 0x26130d89 0x2607c6d1 0x2607c4e3 0x2da411a9 0x2982e445 0x1a6095 0x34bcdaaf)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

 

解决办法寻找中……

 

转载于:https://www.cnblogs.com/jaxer/p/4788989.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值