简体   繁体   English

Xamarin iOS < 11

[英]Xamarin iOS < 11

I am trying to get just a "hello world" single view iOS app running on an iOS 10 simulator but it just immediately crashes/exits out of the program, it does not even appear to hit the entry point of the app.我试图让一个“hello world”单视图 iOS 应用程序在 iOS 10 模拟器上运行,但它只是立即崩溃/退出程序,它甚至似乎没有到达应用程序的入口点。 Any thoughts?有什么想法吗?

I've tried using -- Visual Studio 2019 (Windows 10 paired to mac -- mojave) -- Visual Studio directly on the mac.我已经尝试在 Mac 上直接使用——Visual Studio 2019(Windows 10 与 mac 配对——mojave)——Visual Studio。

Running the same app on anything 11.0 and greater works as expected.在任何 11.0 及更高版本上运行相同的应用程序都能按预期工作。

The version of xcode on the mac is 10.2.1, mac is mojave 10.14.4. mac上的xcode版本是10.2.1,mac是mojave 10.14.4。

Found the issue here the described workaround:此处找到问题描述的解决方法:

Workaround: change the Linker behavior in the iOS project's Build options to Link Framework SDKs only and add --registrar:static to the additional mtouch arguments in the same Build options page.解决方法:将 iOS 项目的构建选项中的Link Framework SDKs only Linker behavior更改为Link Framework SDKs only 并将--registrar:static添加到同一构建选项页面中的其他 mtouch 参数。

solves the issue.解决了这个问题。

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

相关问题 Xamarin项目-仅在iOS 11上实现界面 - Xamarin project — implement interface on iOS 11 only Xamarin Firebase iOS 11未生成FCM令牌 - Xamarin Firebase iOS 11 No FCM Token Generated 使用升级到 IOS 11 后损坏的语句 Xamarin.IOS - Using statements broken after upgrading to IOS 11 Xamarin.IOS 在UISwipeActionsConfiguration iOS 11 - Xamarin / Swift中更改文本和图像的颜色 - Change color for a text and image in a UISwipeActionsConfiguration iOS 11 - Xamarin / Swift Xamarin.iOS 项目在 xcode 11 更新后未运行 - Xamarin.iOS project not running after xcode 11 update xamarin ios自定义后退按钮在11和10.3之间有所不同 - xamarin ios custom back button differs between 11 and 10.3 Xamarin iOS 模拟器黑屏 Xcode 11更新 - Xamarin iOS Simulator Black Screen After Xcode 11 Update 使用Xamarin在iOS 11上隐藏TabBar会留下一个白色矩形 - Hiding the TabBar on iOS 11 using Xamarin is leaving a white rectangle Xamarin应用程序在iOS 10.3中崩溃,但在11以上版本中运行 - Xamarin app crashes in iOS 10.3 but working in version above 11 使用 Xamarin 3 使用 Visual Studio 构建 Xamarin.iOS 项目时出现问题。错误 11 iOS 的最大部署目标是 9.1 - Problems building Xamarin.iOS project with Visual Studio using Xamarin 3. Error 11 The maximum deployment target for iOS is 9.1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM