2013-06-05 9 views
7

Questa mattina, dopo aver aggiornato Mac OS sul mio Mac a 10.8.4, ho scritto codice Xcode 4.6.2 e poi premuto il pulsante Esegui per compilare. (Sai, non ho mai smesso il simulatore, basta premere il pulsante Esegui per compilare ed eseguire.). E boom, app crash :(, ne provo altri che sono Ok su 10.8.3 ma senza fortuna, ancora crash Ho trovato qualche strano log nella Console. Sai come risolverlo?Semplice crash dell'applicazione su simulatore iPhone/Mac OS 10.8.4

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. 

risposta

1

sembra che il simulatore non chiudere il processo in modo corretto in alcune occasioni. Se si controlla Activity Monitor dopo aver interrotto la corsa tramite XCode e si continua a vedere il processo dell'app in esecuzione, eliminarlo tramite Activity Monitor ed eseguire nuovamente da XCode. Ho scoperto che questo risolve il crash. Apple dovrebbe risolvere il problema il più presto possibile.

+0

Sì, penso che Apple invierà un aggiornamento Xcode dopo WWDC 2013 :) –

2

Il nuovo aggiornamento è stato rilasciato che risolve il problema sigbart. È solo un aggiornamento di 60 mb.