OC-bug: Undefined symbols for architecture i386: "_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:

bug的提示:

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:

      objc-class-ref in AppDelegate+JPush.o

  "_OBJC_CLASS_$_HVisitorTrack", referenced from:

      objc-class-ref in HDChatViewController.o

  "_OBJC_CLASS_$_HOrderInfo", referenced from:

      objc-class-ref in HDChatViewController.o

  "_OBJC_CLASS_$_HVisitorInfo", referenced from:

      objc-class-ref in HDChatViewController.o

  "_kJPFNetworkDidReceiveMessageNotification", referenced from:

      -[PlayViewController goToPlayWithUrl:] in PlayViewController.o

      -[PlayViewController goToBackground] in PlayViewController.o

      -[PlayViewController goBackFront] in PlayViewController.o

      -[PlayViewController viewWillDisappear:] in PlayViewController.o

      -[AppDelegate(JPush) jq_receiveJpushMessage:] in AppDelegate+JPush.o

  "_OBJC_CLASS_$_HOptions", referenced from:

      objc-class-ref in AppDelegate+HelpDesk.o

  "_OBJC_CLASS_$_HControlMessage", referenced from:

      objc-class-ref in HDMessageViewController.o

  "_OBJC_CLASS_$_HError", referenced from:

      objc-class-ref in HDMessageViewController.o

  "_OBJC_CLASS_$_HMessage", referenced from:

      objc-class-ref in HDMessageViewController.o

      objc-class-ref in HDSDKHelper.o

  "_OBJC_CLASS_$_HChatClient", referenced from:

      objc-class-ref in HDMessageReadManager.o

      objc-class-ref in SCLoginManager.o

      objc-class-ref in HDMessageViewController.o

      objc-class-ref in AppDelegate+HelpDesk.o

      objc-class-ref in HDSDKHelper.o

      objc-class-ref in HFormWebViewController.o

      objc-class-ref in HDChatViewController.o

      ...

  "_OBJC_CLASS_$_JPUSHService", referenced from:

      objc-class-ref in AppDelegate+HelpDesk.o

      objc-class-ref in AppDelegate+JPush.o

  "_OBJC_CLASS_$_ControlType", referenced from:

      objc-class-ref in SatisfactionViewController.o

  "_OBJC_CLASS_$_ControlArguments", referenced from:

      objc-class-ref in HDMessageViewController.o

      objc-class-ref in SatisfactionViewController.o

  "_OBJC_CLASS_$_HMessageHelper", referenced from:

      objc-class-ref in HDBaseMessageCell.o

      objc-class-ref in HDMessageViewController.o

      objc-class-ref in HDMessageCell.o

      objc-class-ref in HDMessageModel.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

出现的原因是:极光和环信的第三方不支持release的运行,修改方式如下:

然后:

猜你喜欢

转载自www.cnblogs.com/lyz0925/p/9117208.html