我正在升级在 iOS 上使用 Xamarin Bindings for Blackberry Dynamics 编写的现有应用程序。我已更新到适用于 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 示例文件夹中构建和运行 GreetingsClient 示例。我还将该项目中的 mtouch 参数复制到我现有的项目中,因此我有更新的参数来链接 SafariServices 框架。
我有点卡在这里-任何人都可以提供有关可能导致此错误的设置/文件/配置的任何信息吗?
谢谢!