【问题标题】:Flutter app - Undefined symbols for architecture arm64 for iOS Device. Flutter Package - cryptlibFlutter app - 用于 iOS 设备的架构 arm64 的未定义符号。 Flutter 包 - cryptlib
【发布时间】:2021-09-16 18:34:35
【问题描述】:

我在我的 Flutter 应用程序中使用 cryptlib 包来加密登录凭据。 该应用程序适用于 Android 版本。但在 iOS 中,我尝试在 iPhone 上运行时遇到错误

    Xcode's output:
↳
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_CryptlibPlugin", referenced from:
      objc-class-ref in GeneratedPluginRegistrant.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete

任何帮助将不胜感激。

【问题讨论】:

  • 你找到答案了吗>

标签: ios xcode flutter dart


【解决方案1】:

是的! iOS 端 Flutter 中的颤振 cryptlib 包存在问题。 它适用于 Android。 好吧,开发人员已经提到他正面临标题部分。

不过,如果您也想使用适用于 iOS 和 android 的该软件包进行相同的工作。

我建议你去方法频道。 绑定你的原生代码,通过 Method Channel 调用到 Flutter 端。

【讨论】:

  • 可以放样品吗?
猜你喜欢
  • 1970-01-01
  • 2021-07-25
  • 1970-01-01
  • 2016-01-08
  • 2013-10-13
  • 1970-01-01
相关资源
最近更新 更多