升级Blackberry Dynamics应用程序-本机链接错误

问题描述

我正在升级使用Xamarin Bindings for BlackBerry Dynamics在iOS上编写的现有应用程序。我已更新为iOS v8.1.0.37的静态SDK,并在macOS Catalina 10.15.7上使用Visual Studio for Mac 8.7.8。 Xcode 12.0.1和Xamarin.iOS 14.0.0.0。

更新SDK并替换对GoodDynamics.iOS.dll和GoodDynamics.iOS.Launcher.dll的引用(来自xamarin v 7.0.0.13的ios绑定)后,我尝试构建并收到以下错误:>

/Users/jweberfl/TFS/WinWeb/mobile/Partnerpodcasts/error MT5209: Error: in /Users/jweberfl/TFS/WinWeb/mobile/Partnerpodcasts/obj/iPhonesimulator/Debug/mtouch-cache/GD.framework/GD(nondga_model.o),building for iOS Simulator,but linking in object file built for free standing,file '/Users/jweberfl/TFS/WinWeb/mobile/Partnerpodcasts/obj/iPhonesimulator/Debug/mtouch-cache/GD.framework/GD' for architecture x86_64 (Partnerpodcasts) Native linking

我已经对这个错误进行了一些搜索,但是据我所知,解决方案似乎是在xcode构建设置中排除某些体系结构,我看不到在Visual Studio for Mac中进行复制的方法。作为参考,我能够在7.0.0.13 Examples文件夹中构建并运行GreetingsClient示例。我还将该项目的mtouch参数复制到了我现有的项目中,因此我拥有更新的参数来链接SafariServices框架。

我有点卡在这里-谁能提供任何有关可能导致此错误的设置/文件/配置的信息?

谢谢!

解决方法

BB Dynamics还不支持XCode 12。您可以尝试使用XCode 11吗?

,

您好,您必须添加新的BB认证文件以及常规的GD.Framework文件。这些已记录在Blackberry网站上。它们还需要签名和嵌入。

新的Xcode构建系统

GD.framework
BlackBerryCerticom.xcframework
BlackBerryCerticomSBGSE.xcframework

旧版Xcode构建系统

GD.framework
BlackBerryCerticom.framework
BlackBerryCerticomSBGSE.framework

https://docs.blackberry.com/en/development-tools/blackberry-dynamics-sdk-ios/8_1/blackberry-dynamics-sdk-ios-devguide/Steps-to-get-started-And-iOS/rqx1490022241984/Prepare-an-app-to-use-the-static-framework