简体   繁体   English

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

[英]Upgrading Blackberry Dynamics app - native Linking error

I am upgrading an existing app written using the Xamarin Bindings for Blackberry Dynamics on iOS.我正在升级在 iOS 上使用 Xamarin Bindings for Blackberry Dynamics 编写的现有应用程序。 I have updated to the static SDK for iOS v8.1.0.37, and am using Visual Studio for Mac 8.7.8 on macOS Catalina 10.15.7.我已更新到适用于 iOS v8.1.0.37 的静态 SDK,并在 macOS Catalina 10.15.7 上使用 Visual Studio for Mac 8.7.8。 Xcode 12.0.1 and Xamarin.iOS 14.0.0.0. Xcode 12.0.1 和 Xamarin.iOS 14.0.0.0。

After updating the SDK and replacing my references to GoodDynamics.iOS.dll and GoodDynamics.iOS.Launcher.dll (from the ios bindings for xamarin v 7.0.0.13), I tried to build and received the following error:更新 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

I've done some searching for this error, but from what I can tell the solution seems to be to exclude certain architectures in the xcode build settings, which I don't see a way to replicate in Visual Studio for Mac.我已经对这个错误进行了一些搜索,但据我所知,解决方案似乎是在 xcode 构建设置中排除某些体系结构,我没有看到在 Visual Studio for Mac 中复制的方法。 For reference, I am able to build and run the GreetingsClient sample in the 7.0.0.13 Examples folder.作为参考,我能够在 7.0.0.13 示例文件夹中构建和运行 GreetingsClient 示例。 I also copied the mtouch arguments from that project into my existing project, so I have the updated arguments in place to link the SafariServices framework.我还将 mtouch 参数从该项目复制到我现有的项目中,因此我有更新的参数来链接 SafariServices 框架。

I'm a bit stuck here - can anyone provide any information on what setting/file/configuration might be causing this error?我有点卡在这里 - 任何人都可以提供有关可能导致此错误的设置/文件/配置的任何信息吗?

Thanks!谢谢!

BB Dynamics does not support XCode 12 yet. BB Dynamics 尚不支持 XCode 12。 Can you try using XCode 11?您可以尝试使用 XCode 11 吗?

Hi there are new BB certification files you have to add along with the usual GD.Framework files.您好,您必须添加新的 BB 认证文件以及通常的 GD.Framework 文件。 These are documented on Blackberry website.这些记录在黑莓网站上。 They need to also be signed and embedded.它们还需要签名和嵌入。

New Xcode build system新的 Xcode 构建系统

GD.framework
BlackBerryCerticom.xcframework
BlackBerryCerticomSBGSE.xcframework

Legacy Xcode build system旧版 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 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/准备应用程序以使用静态框架

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

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