gpt4 book ai didi

ios - Xamarin 无法在 iPhone 模拟器上运行 iOS 应用程序 - 不支持 386 架构

转载 作者:塔克拉玛干 更新时间:2023-11-02 07:53:11 25 4
gpt4 key购买 nike

我正在使用 Visual Studio Mac 2017 并尝试在 iPhone 模拟器上运行应用程序,但运行按钮显示一个小的“锤子”图标(而不是通常的“播放”图标)

此外,“运行”菜单下的所有选项都是灰色的(例如 Start Without Debugging、Start Debugging 等)

我的结论是,这是因为模拟器需要 386 架构,但未将其列为受支持的架构:option > iOS Build > Supported Architectures

我已尝试调整 SDK、部署目标和最低系统版本,但无法将 386 视为架构选项或显示“运行”按钮。

我想我在这里遗漏了一些非常简单的东西,但我不知道是什么。有什么建议吗?

enter image description here

最佳答案

将当前的PlatformiPhone更改为iPhoneSimulator

一旦选择了 iPhoneSimulator,“Supported architectures”将更改为 x86_64(对于旧版本的 Xamarin 也有 x86 选项.iOS)

enter image description here

关于ios - Xamarin 无法在 iPhone 模拟器上运行 iOS 应用程序 - 不支持 386 架构,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53368443/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com