书上第88页的例子,cycritp SpringBoard然后登录iMessage的。
- 为什么我的登录命令敲完之后,返回的最后一个LoginStatus的状态是offline呢?我看书上是connected
- 然后设置发信帐号的时候,就报错了[__NSCFNumber aliases]: unrecognized selector
求大神帮忙看一看,我这个是哪里出问题了呢?
···
myiPad:~ root# cycript -p SpringBoard
cy# controller = [CNFRegController controllerForServiceType:1]
#"<CNFRegController: 0x1667f050>"
cy# [controller beginAccountSetupWithLogin:@“abc@abc.com” password:@"@abc" foundExisting:NO]
#“IMAccount: 0x17d9b860 [ID: 737688B0-93B3-4AA1-BEA7-C3E493F94CB9 Service: IMService[iMessage] Login: E:abc@abc.com Active: YES LoginStatus: Offline]”
cy# [controller setAliases:@[@“abc@abc.com”] onAccount:0x17d9b860]
-[__NSCFNumber aliases]: unrecognized selector sent to instance 0x17d8ed20
···