title: Developing with Jailbroken iPhone (Xcode)
body: <p>I have a jailbroken iPhone 4S with the running iOS 5.1.1. I have Xcode 4.3.2, and I have been able to run my apps to my iPhone, but in a weird way. If I click the debug button on Xcode, it attempts to open the app on my jailbroken iPhone, but fails because it quickly opens and then closes. Even though this happens, if I open the app manually, by clicking it on the homescreen, it runs fine. That's pretty annoying. The most annoying thing is that this causes it to no longer allow debugging, as Xcode doesn't see that it is running.</p>
  
  <p>This is the output that it produces:</p>
  
  <pre><code>error: failed to launch '/Users/hetelek/Library/Developer/Xcode/DerivedData/spyapp-flynnmpiqhjoilezvqsbaqdnkesn/Build/Products/Debug-iphoneos/spyapp.app/spyapp' -- failed to get the task for process 3741
  </code></pre>
  
  <p>With the process ID changing every time of course.</p>
  
  <p>This is the tutorial I used for developing on my jailbroken iDevice:
  <a href="http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile" rel="nofollow">http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile</a></p>
  
  <p>Thanks for any help.</p>