Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS工程集成打包后的Flutter SDK报错 #479

Open
YangDingLi opened this issue Aug 17, 2024 · 1 comment
Open

iOS工程集成打包后的Flutter SDK报错 #479

YangDingLi opened this issue Aug 17, 2024 · 1 comment

Comments

@YangDingLi
Copy link

将Flutter打包成SDK再集成到iOS工程中,SDK中包含

  • Flutter.xcframework
  • FlutterPluginRegistrant.xcframework
  • jpush_flutter.xcframework

集成到工程中,如果调用代码

GeneratedPluginRegistrant.register(with: engine)

则报错:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_JGInforCollectionAuth", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_OBJC_CLASS_$_JPUSHRegisterEntity", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_OBJC_CLASS_$_JPUSHService", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_OBJC_CLASS_$_JPushCollectControl", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_OBJC_CLASS_$_JPushNotificationContent", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_OBJC_CLASS_$_JPushNotificationIdentifier", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_OBJC_CLASS_$_JPushNotificationRequest", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_OBJC_CLASS_$_JPushNotificationTrigger", referenced from:
       in jpush_flutter[4](JPushPlugin.o)
  "_kJPFNetworkDidCloseNotification", referenced from:
      -[JPushPlugin init] in jpush_flutter[4](JPushPlugin.o)
  "_kJPFNetworkDidLoginNotification", referenced from:
      -[JPushPlugin init] in jpush_flutter[4](JPushPlugin.o)
  "_kJPFNetworkDidReceiveMessageNotification", referenced from:
      -[JPushPlugin init] in jpush_flutter[4](JPushPlugin.o)
  "_kJPFNetworkDidRegisterNotification", referenced from:
      -[JPushPlugin init] in jpush_flutter[4](JPushPlugin.o)
  "_kJPFNetworkDidSetupNotification", referenced from:
      -[JPushPlugin init] in jpush_flutter[4](JPushPlugin.o)
  "_kJPFNetworkIsConnectingNotification", referenced from:
      -[JPushPlugin init] in jpush_flutter[4](JPushPlugin.o)
ld: symbol(s) not found for architecture arm64
@YangDingLi
Copy link
Author

jpush_flutter: ^3.0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant