工程运行没问题,但是使用instrument测试内存的时候爆粗了,如图

Undefined symbols for architecture i386:

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_JPUSHService", referenced from:
      objc-class-ref in BeforeMainController.o
      objc-class-ref in MainViewController.o
      objc-class-ref in LoginController.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)


解决 方法将 build active achitecture only 中的release 和debug都设置为yes, 表示只支持当前的设备,不支持老设备。如图



Undefined symbols for architecture i386:

相关文章:

  • 2022-12-23
  • 2022-01-05
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案