iPhone模拟器/ Mac OS 10.8.4上的应用程序崩溃问题简单解决方案

7
今天早上,我将我的Mac操作系统更新至10.8.4版本后,在Xcode 4.6.2中编写了一些代码,然后按下运行按钮进行编译(你知道的,我没有停止模拟器,只需按下运行按钮即可进行编译和运行)。但是,应用程序崩溃了:(。我尝试了一些在10.8.3上工作正常的其他方法,但是仍然无法解决问题。我在控制台中发现了一些奇怪的日志。请问您知道如何解决这个问题吗?
6/5/13 10:25:34.266 PM installd[1174]: 0xb0219000 MobileInstallationInstall_Server: Installing app user.ApplicationDemo

6/5/13 10:25:34.280 PM installd[1174]: 0xb0219000 MobileInstallationInstall_Server: Staging: 0.02s; Waiting: 0.00s; Installation: 0.01s; LS Sync: 0.00s; Overall: 0.03s

6/5/13 10:25:34.280 PM lsd[1185]: updating identifier store

6/5/13 10:25:34.281 PM lsd[1185]: Attempting to store identifiers file

6/5/13 10:25:34.538 PM com.apple.launchd.peruser.501[272]: (UIKitApplication:user.ApplicationDemo[0x435a]) Conflict with job: UIKitApplication:user.ApplicationDemo[0xfedc] over Mach service: user.ApplicationDemo

6/5/13 10:25:34.538 PM com.apple.launchd.peruser.501[272]: (UIKitApplication:user.ApplicationDemo[0x435a]) Conflict with job: UIKitApplication:user.ApplicationDemo[0xfedc] over Mach service: user.ApplicationDemo.UIKit.migserver

6/5/13 10:25:34.543 PM com.apple.launchd.peruser.501[272]: (UIKitApplication:user.ApplicationDemo[0x435a][1221]) Spawned and waiting for the debugger to attach before continuing...

6/5/13 10:25:34.606 PM com.apple.launchd.peruser.501[272]: (UIKitApplication:user.ApplicationDemo[0xfedc][1212]) Exit timeout elapsed (1 seconds). Killing
6/5/13 10:25:34.816 PM com.apple.debugserver-199[1222]: debugserver-199 for x86_64.

6/5/13 10:25:34.817 PM com.apple.debugserver-199[1222]: Listening to port 30475...

6/5/13 10:25:34.919 PM com.apple.debugserver-199[1222]: Got a connection, waiting for process information for launching or attaching.

6/5/13 10:25:35.833 PM com.apple.launchd.peruser.501[272]: (UIKitApplication:user.ApplicationDemo[0xfedc][1212]) The following job tried to hijack the service "user.ApplicationDemo" from this job: UIKitApplication:user.ApplicationDemo[0x435a]

6/5/13 10:25:35.834 PM ImageWareDemo[1221]: GSRegisterPurpleNamedPort Couldn't register user.ApplicationDemo with the bootstrap server. Error: unknown error code (1100).
This generally means that another instance of this process was already running or is hung in the debugger.

6/5/13 10:25:38.606 PM com.apple.launchd.peruser.501[272]: (UIKitApplication:user.ApplicationDemo[0xfedc][1212]) Job has not died after being killed 4 seconds ago. Simulating exit.
3个回答


2

已发布新的更新,解决了sigbart问题。这只是一个60 MB的更新。


1

看起来模拟器在某些情况下无法正确关闭进程。如果您通过XCode停止运行,然后在检查活动监视器时仍然看到应用程序进程在运行,请通过活动监视器将其终止并从XCode重新运行。我发现这解决了崩溃的问题。我认为苹果应该尽快修复这个问题。


是的,我认为苹果将在2013年WWDC之后推出Xcode更新 :) - Q.u.a.n.g L.

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接