首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >FirebaseMLVision:架构x86_64的未定义符号:

FirebaseMLVision:架构x86_64的未定义符号:
EN

Stack Overflow用户
提问于 2020-04-07 04:01:54
回答 1查看 109关注 0票数 2

我正在开发用于生物认证的cordova插件,现在我需要将FirebaseMLVision与FirebaseMLVisionFaceModel集成。当我将静态框架添加到项目中时,我得到了如下错误:

我对这个问题研究了很多,但我还没有找到解决它的方法。

我链接了所需的框架,如下所示

代码语言:javascript
复制
  <framework src="src/ios/frameworks/FIRAnalyticsConnector.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/Firebase.framework" custom="true" embed="true"  /> 
  <framework src="src/ios/frameworks/FirebaseAnalytics.framework" custom="true" embed="true"  /> 
  <framework src="src/ios/frameworks/FirebaseCore.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/FirebaseInstallations.framework" custom="true" embed="true" />  
  <framework src="src/ios/frameworks/FirebaseInstanceID.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/FirebaseMLCommon.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/FirebaseMLVision.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/GoogleAPIClientForREST.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/GoogleAppMeasurement.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/GoogleDataTransport.framework" custom="true" embed="true" />  
  <framework src="src/ios/frameworks/GoogleDataTransportCCTSupport.framework" custom="true" embed="true"  /> 
  <framework src="src/ios/frameworks/GoogleToolboxForMac.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/GoogleUtilities.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/GTMSessionFetcher.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/nanopb.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/PromisesObjC.framework" custom="true" embed="true" /> 
  <framework src="src/ios/frameworks/Protobuf.framework" custom="true" embed="true" /> 

更新:我使用的是最新版本的firebase ios sdks

EN

回答 1

Stack Overflow用户

发布于 2020-05-09 03:31:17

您需要将FirebaseMLVisionFaceModel/FirebaseMLVisionFaceModel.framework和FirebaseMLVisionFaceModel/Resources/GoogleMVFaceDetectorResources.bundle添加到您的项目中,并且请确保您要将它们添加到的目标旁边有一个复选标记,并且您已经选择了“如果需要复制项”。

此页包含以下说明:

https://firebase.google.com/docs/ios/setup#frameworks

如说明中所述,请仔细阅读框架压缩包中包含的自述文件。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61068017

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档