jpush / jverify-flutter-plugin

JPush's officially supported Flutter plugin (Android & iOS). 极光推送官方支持的 Flutter 插件(Android & iOS)。
https://docs.jiguang.cn
MIT License
117 stars 64 forks source link

iOS Flutter混合项目编译报错 #104

Closed SSBun closed 3 years ago

SSBun commented 4 years ago

原生项目中使用了 JPush,JCore,混入的 Flutter 模块中使用了此插件就会编译失败

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_JVUIConfig", referenced from:
      objc-class-ref in jverify(JverifyPlugin.o)
  "_OBJC_CLASS_$_JVAuthConfig", referenced from:
      objc-class-ref in jverify(JverifyPlugin.o)
  "_OBJC_CLASS_$_JVLayoutConstraint", referenced from:
      objc-class-ref in jverify(JverifyPlugin.o)
  "_OBJC_CLASS_$_JVERIFICATIONService", referenced from:
      objc-class-ref in jverify(JverifyPlugin.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
hyhSuper commented 3 years ago

信息太少,无法给你提供帮助。