美文网首页
极光推送3.0.5出现i386问题模拟器运行不起来

极光推送3.0.5出现i386问题模拟器运行不起来

作者: 蛐蛐_ | 来源:发表于2018-03-22 19:14 被阅读233次

    报如下错误:

    Undefined symbols for architecture i386:
      "_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:
          objc-class-ref in CKJPushManager.o
      "_kJPFNetworkDidReceiveMessageNotification", referenced from:
          -[CKJPushManager registerJPushWithapplication:didFinishLaunchingWithOptions:] in CKJPushManager.o
      "_OBJC_CLASS_$_JPUSHService", referenced from:
          objc-class-ref in CodeLoginViewController.o
          objc-class-ref in LoginViewController.o
          objc-class-ref in CloseShopAlter.o
          objc-class-ref in MultipleDevicesAlter.o
          objc-class-ref in CKJPushManager.o
          objc-class-ref in CKSettingsViewController.o
          objc-class-ref in MessageAlert.o
          ...
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    

    遇到这个问题是因为我打包时把edit scheme 里面的run 改成了release 把 release 改成debug就好了

    相关文章

      网友评论

          本文标题:极光推送3.0.5出现i386问题模拟器运行不起来

          本文链接:https://www.haomeiwen.com/subject/wxkzqftx.html