简体   繁体   English

使用 Xcode 11.2 在 iOS 模拟器中打开.app 时出错

[英]Error when opening .app in iOS Simulator with Xcode 11.2

Xcode Version: 11.2 iOS simulator version used: 13.2 and 12.4 Xcode 版本:11.2 iOS 使用的模拟器版本:13.2 和 12.4

Installed.app via drag and drop to iOS simulator but when I try to open it I get this error. Installed.app 通过拖放到 iOS 模拟器,但是当我尝试打开它时出现此错误。 This method was fine when my Xcode is still v10.当我的 Xcode 仍然是 v10 时,这种方法很好。

try to download old Xcode 10 and test your app.尝试下载旧的 Xcode 10 并测试您的应用程序。 https://developer.apple.com/download/more/ hope it helps to find the bug https://developer.apple.com/download/more/希望它有助于找到错误

Installed Xcode 10 (Thanks Vlad Tagunkov) and changed the Command Line Tools to v10.3安装 Xcode 10(感谢 Vlad Tagunkov)并将命令行工具更改为 v10.3 在此处输入图像描述

Also, this only works with iOS 12.4 simulator.此外,这只适用于 iOS 12.4 模拟器。 Tried it on 13.2 and I still get the same error.在 13.2 上尝试过,我仍然得到同样的错误。

you need to see what you have in log.您需要查看日志中的内容。 turn logging mode in most detail mode and run the app.在最详细模式下打开日志记录模式并运行应用程序。 you will probably see where the problem.你可能会看到问题出在哪里。 hope it helps.希望能帮助到你。

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

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