gpt4 book ai didi

iOS 无法在模拟器 Xcode 6.1(6A1052d) 中运行应用程序

转载 作者:行者123 更新时间:2023-11-29 12:34:18 25 4
gpt4 key购买 nike

我们正在使用 Swift 构建一个 iOS 应用程序。我们使用的 XCode 是 Xcode 6.1(6A1052d)。

我们的问题是当我们在模拟器中运行应用程序时(5、5 秒、6)应用程序未在模拟器中运行。

报错。

无法在模拟器中运行应用。

运行时遇到错误(Domain = NSPOSIXErrorDomain, Code = 3)

我们尝试了清理和构建、删除缓存、重启 xcode 等,但没有奏效。我们有另一台具有相同 XCode 版本的机器。在那台机器上它工作正常。

有什么线索吗?

尝试了 Xcode6 can't run any app in simulator ( Domain = NSPOSIXErrorDomain, Code = 3 ) 中给出的解决方案.但没有奏效。

最佳答案

Xcode 6.1 Release Notes 中所述在my sticky post in the Apple Developer Forums对于 iOS 模拟器,这是 iOS 中的一个已知错误。

Upon installation of an app, SpringBoard will SIGKILL that app's process in order to force a relaunch of the app with the new executable. The problem is that there is a race condition whereby SpringBoard may accidentally SIGKILL a new process that we just launched rather than the old process. Which of the various error messages you get depends on exactly when in the launch process the SIGKILL was delivered. Normally, this shouldn't happen, so the advise is to just try again (sorry =/). If you find that this happes to you all the time or more frequently than you can tollerate, we are incredibly sorry. We are aware that systems with slower disk I/O will see this happen more frequently than faster systems, so if you are using an NFS home directory, you may want to create a local directory for your simulator data and setup a simlink to it from ~/Library/Developer/CoreSimulator

关于iOS 无法在模拟器 Xcode 6.1(6A1052d) 中运行应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26781657/

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