jpush 3.1.1.1集成编译出错

139
2018-11-08 09:08 761 0

xcode10.1 ios12.1编译成功
xcdoe10.1 ios9.3编译失败

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 MyViewController.o
      objc-class-ref in LoginVC.o
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

JPUSHService.h libjcore-ios-1.2.5.a libjpush-ios-3.1.1.a
3个文件项目中都有

1个回答

热门排序
  • 新版本SDK不支持i386模拟器,支持真机,处理办法请阅读: 1、 https://community.jiguang.cn/t/xcode8-1-ios/11164/10 2、 https://community.jiguang.cn/ 展示全部