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

报如下错误:

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问题模拟器运行不起来)