Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.6.2 app crashes on every second run

Tags:

xcode

xcode4.6

Xcode 4.6.2 seems quite buggy.

When I run a second time my any project I get SIGABRT crash within the first second. I completely removed Xcode and reinstalled, (yeah I try turn off and on again). Also I removed command line tools and simulators, but that didn’t help either.

like image 711
Ilya Ilin Avatar asked Apr 19 '13 20:04

Ilya Ilin


2 Answers

ok, I found a solution. Please open the menu Product -> Scheme -> Edit Scheme, select Run YouAppName.app on the left, tab Info. Then choose GDB instead of LLDB in debugger field.

UPD: In new Xcode 4.6.3 this bug has been fixed. So just update your Xcode.

like image 116
Ilya Ilin Avatar answered Oct 05 '22 09:10

Ilya Ilin


Found another way to fix this without moving the debugger to GDB. I usually just re-run an app by pressing ⌘-R while the app is running. Instead, kill the app from Xcode with ⌘-., wait 5 seconds and hit ⌘-R to run it. Counting the 5 seconds by saying "I love Xcode" seems to help too.

Edit: This issue is fixed in 4.6.3

like image 42
nevan king Avatar answered Oct 05 '22 11:10

nevan king