美文网首页
Undefined symbols for architectu

Undefined symbols for architectu

作者: 肉身佛陀 | 来源:发表于2017-09-25 15:10 被阅读493次

使用极光推送3.0.6,在Xcode9、模拟器Debug模式下出现的问题,真机OK,错误提示如下:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:
      objc-class-ref in AppDelegate.o
  "_kJPFNetworkDidReceiveMessageNotification", referenced from:
      -[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
  "_OBJC_CLASS_$_JPUSHService", referenced from:
      objc-class-ref in TJOALoginVC.o
      objc-class-ref in AppDelegate.o
      objc-class-ref in TJZF_MoveOAVC.o
      objc-class-ref in TJPersonalCenterVC.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
错误提示截图

解决方法:
将 Targets-》Build Setting -》Build Active Architecture Only 设置为YES;

相关文章

网友评论

      本文标题:Undefined symbols for architectu

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