简体   繁体   English

在 MicroBlink 框架中找不到 Armv7 和 Arm64 的符号

[英]Symbols not found for Armv7 and Arm64 in MicroBlink framework

I'm getting the following error when building my project in Xcode 10.1 (I have to use this old version at work).在 Xcode 10.1 中构建我的项目时出现以下错误(我必须在工作中使用这个旧版本)。

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_MBDocumentOverlayViewController", referenced from:
      objc-class-ref in BlinkIdPlugin.o
  "_OBJC_CLASS_$_MBMrtdRecognizer", referenced from:
      objc-class-ref in BlinkIdPlugin.o
  "_OBJC_CLASS_$_MBViewControllerFactory", referenced from:
      objc-class-ref in BlinkIdPlugin.o
  "_OBJC_CLASS_$_MBRecognizerCollection", referenced from:
      objc-class-ref in BlinkIdPlugin.o
  "_OBJC_CLASS_$_MBDocumentOverlaySettings", referenced from:
      objc-class-ref in BlinkIdPlugin.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I'm getting the .framework and .bundle from the blinkid-ios sample in MicroBlink's github repository.我从 MicroBlink 的 github 存储库中的 blinkid-ios 示例中获取 .framework 和 .bundle。 I tried git-lfs pull but nothing happened which leads me to believe that all lfs files were pulled(?).我试过git-lfs pull但什么也没发生,这让我相信所有的 lfs 文件都被拉取了(?)。 I'm also using cordova 7.1.0 (I also have to use this old version at work).我也在使用cordova 7.1.0(我也必须在工作中使用这个旧版本)。

Any help appreciated.任何帮助表示赞赏。

For anyone encountering a similar issue in the future - this specific issue was caused by the change in the case in the name - MicroBlink was renamed to Microblink .对于任何人在将来遇到类似的问题-这一具体问题是由在名称的情况下的变化引起的- MicroBlink更名为Microblink。 Even though git-lfs pulled the files, Cordova couldn't see the actual framework.即使 git-lfs 提取了文件,Cordova 也无法看到实际的框架。

Disclaimer: I work for the Microblink team that's behind the BlinkID library in question.免责声明:我为BlinkID 库背后的Microblink团队工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM