全部产品
云市场

移动推送 iOS :+[_LSDefaults sharedInstance]: unrecognized selector sent to class .....

更新时间:2019-10-24 10:13:13

具体 Crash 代码 :

  1. objc[21999]: Class ZipArchive is implemented in both ... One of the two will be used. Which one is undefined.
  2. ...
  3. 2019-10-23 14:58:03.184419+0800 XXX[21999:2011761] SG ERROR: 203
  4. 2019-10-23 14:58:03.204103+0800 XXX[21999:2011774] +[_LSDefaults sharedInstance]: unrecognized selector sent to class 0x1c92d3d58
  5. 2019-10-23 14:59:18.674094+0800 XXX[21999:2012167] NSURLConnection finished with error - code -1001
  6. 2019-10-23 14:59:18.677327+0800 XXX[21999:2011774] *** Terminating app due to uncaught exception 'NSInvalidArgumentException',
  7. reason: '+[_LSDefaults sharedInstance]: unrecognized selector sent to class 0x1c92d3d58'
  8. ...
  9. (lldb)

检查项目中是否集成过其它的阿里云的产品 例如: 无线保镖 或 人脸识别 AliRPSDK ;

里面有用到依赖 :

  1. SecurityGuardSDK.framework
  2. SGMain.framework

即更新一下到最新版本即可 。