This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Sep 2, 2014 6:45 PM by Yves Le Borgne  
Yves Le Borgne Novice 106 posts since
Aug 22, 2011
Currently Being Moderated

Aug 29, 2014 11:27 PM

debugger wont start with a device (works with Xcode)

when trying to start a debug session on a connected device, i get this :

 

Screen Shot 2014-08-29 at 3.13.01 PM.png

 

When opening the same projetc with Xcode, it somehow is able to deploy the app and start the debug session. What gives ?

 

ps : i have done the obligatory wtf incantations : clean project, invalidate caches and restart, and an incantation to the AppCodeWarriors on mount Fuji.

 

pps. version 3.0.4, exCode 5.1, iPhone 4S (7.1.2)

Alexander Babaev Novice 194 posts since
Aug 30, 2002
Currently Being Moderated
Sep 2, 2014 6:36 PM in response to: Yves Le Borgne
Re: debugger wont start with a device (works with Xcode)

Oh, there are so many things that can go wrong here

 

Here are several of them out the top of my head:

— Check provisioning profiles. Xcode sometimes can get them automagically, AppCode requires them to be set correctly.

— Try restarting Mac/iOS device. I know that it sounds stupid, but it really helps sometimes.

— Check that you do not use AdHoc profile instead of Debug

— I've had problems when there were two versions of the same app on the device (with different bundle ids).

 

I use AppCode a lot and sometimes get stuck for hours not being able to do simple things like debugging. Xcode may or may not work at the same time.

 

(I agree that this is possibly a bug in AppCode)

More Like This

  • Retrieving data ...