简体   繁体   English

VisualStudio 2017 for Mac - iOS模拟器启动但不运行应用程序

[英]VisualStudio 2017 for Mac - iOS Simulator Starts but Does Not Run the App

I have a MonoGame application for iOS and I want to try it with the iPhone Simulator. 我有一个适用于iOS的MonoGame应用程序,我想尝试使用iPhone模拟器。

When I run the application from Visual Studio for Mac 2017 (I've also tried Visual Studio for Mac 2019... but the result is the same), the iPhone Simulator starts successfully but it doesn't run my application, ie it just shows the standard apps like calendar, mail, news, etc. 当我从Visual Studio for Mac 2017运行应用程序时(我也尝试过Visual Studio for Mac 2019 ......但结果是一样的),iPhone模拟器成功启动但它没有运行我的应用程序,即它只是显示标准应用程序,如日历,邮件,新闻等。

Any help would be really appreciated :-) 任何帮助将非常感激 :-)

The problem was that my application was build as a 32-bit executable whereas the iPhone Simulator is a 64-bit application. 问题是我的应用程序是作为32位可执行文件构建的,而iPhone模拟器是64位应用程序。 Specifying the appropriate build options fixed the issue. 指定适当的构建选项可以解决问题。

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

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