我正在开发用于生物识别身份验证的 cordova 插件,现在我需要将 FirebaseMLVision 与 FirebaseMLVisionFaceModel 集成。当我将静态框架添加到项目中时,出现如下错误:
我已经对这个问题进行了很多研究,但我还没有找到解决方法。
我已经像这样链接了所需的框架
<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