且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法在模拟器xcode 9 beta中安装应用程序

更新时间:2022-06-18 18:36:29

不幸的是,错误消息并未解释安装失败的原因。您可以查看〜/ Library / Logs / CoreSimulator / CoreSimulator.log以查看其余的错误消息是否包含更多信息。如果没有,你应该查看sim设备的系统日志:

Unfortunately, the error message doesn’t explain why the install failed. You can take a look at ~/Library/Logs/CoreSimulator/CoreSimulator.log to see if the rest of the error message is there with more info. If not, you should check out the sim device’s system log:

sudo xcode-select -s /Applications/Xcode-beta.app # if you haven’t already
xcrun simctl spawn booted log show

你可以使用 - 谓词将其过滤掉。

You can use --predicate to filter that down a bit.