简体   繁体   English

Xamarin应用程序在iOS 10.3中崩溃,但在11以上版本中运行

[英]Xamarin app crashes in iOS 10.3 but working in version above 11

i have a xamarin app which is working in iOS version of 11.0 and above but it always fail when i set simulator version to 10 or lower when checking build logs they are same except in case of lower versions log has this line 我有一个xamarin应用程序,它在iOS版本的11.0及以上版本工作,但是当我将模拟器版本设置为10或更低时检查构建日志它们是相同的时候总是失败,除非版本较低的日志有这行

Xamarin.Hosting: Simulated process has exited. process with id 7642 not found

now i don't understand why this process exits can this be because of some nuget package that is not supporting the platform ? 现在我不明白为什么这个过程退出可能是因为一些不支持平台的nuget包?

Note:-MinimumOSVersion set in info.plist file is 10.0 and issue is coming in 10.3.2 注意:-ininOSVersion在info.plist文件中设置为10.0,问题出现在10.3.2中

https://github.com/xamarin/xamarin-macios/issues/4741 https://github.com/xamarin/xamarin-macios/issues/4741

Xcode 10's release notes: Xcode 10的发行说明:

Weak linking against frameworks that are not present in simulator runtimes older than iOS 12.0, tvOS 12.0, and watchOS 5.0 yet are present in macOS Mojave can cause an app to crash on launch when running in those older simulator runtimes. 与iOS 12.0,tvOS 12.0和watchOS 5.0之前的模拟器运行时中不存在的框架的弱链接在macOS中存在Mojave可能会导致应用程序在运行于较旧的模拟器运行时时在启动时崩溃。 (41224059) Workaround: Use older simulator runtimes on macOS High Sierra (41224059)解决方法:在macOS High Sierra上使用较旧的模拟器运行时

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

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