Note that there are some explanatory texts on larger screens.

plurals
  1. POXcode 4.5 doesn't run / load app on simulators or device
    primarykey
    data
    text
    <p>I'm running Xcode 4.5 on OS X Lion 10.7.5 on a Mid 2007 Mac Mini. I've run into this problem before where the simulators as well as actual devices don't run the app when I build. I'm writing a couple of different applications using Phonegap 2.1, HTML, JS, Jquery Mobile. I've reinstalled Xcode 2-3x after following the instructions from <a href="http://osxdaily.com/2012/02/20/uninstall-xcode/" rel="nofollow noreferrer">OSX Daily</a> and <a href="https://stackoverflow.com/questions/5255959/how-to-fully-remove-xcode-4">SO How to fully remove Xcode 4</a>. This worked for a while, but then my 300gb SSD drive died &amp; I had to reinstall the OEM 120 GB hard drive &amp; reinstall Xcode &amp; Phonegap (both had revved versions since the drive had been uninstalled). Now I'm unable to get Xcode to start the simulators or download to my iPhone 4 again. I completely uninstalled Xcode again yesterday &amp; reinstalled. The first time I tried to build, it took a long time downloading the 5.1 simulators (* see edit below), but finally "finished", but still didn't run them. Tried downloading to my phone, again nothing.</p> <p>Since this is the third or fourth time that this has happened, I'm wondering what I'm doing wrong. Obviously I'm missing something because I don't see this problem being screamed about on the various support forums like here, Google, or Apple, only bits &amp; pieces here and there. </p> <p>As a test, I created a bare bones PhoneGap app that has nothing in it but whatever PG creates, and it doesn't run the simulators or download to my phone. This same method used to work just to test the system, but no longer. It builds fine, and darkens the square "running" button for a few seconds, and then the button lightens again like you've stopped the app, and that's it. No error messages, no build faults, nothing.</p> <p>Intel is replacing my SSD drive, so I'm going to have to go through this all over again when it gets here, unless I can get a working copy running on the hard drive, then clone it with Carbon Copy Cloner so I can just copy that onto the new drive.</p> <p>Any help would be greatly appreciated, I'd really like to not have to deal with this on an ongoing basis.</p> <p>*Edit: I originally deleted this question because I thought I'd done something stupid, I realized I'd downloaded the <em>documentation</em> for the simulators, but not the <em>actual simulators</em>. I've since downloaded the 5.1 simulators and I'm still experiencing the same problems.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. COI found that when I updated my phone to IOS 6, Xcode 4.4.1 will no longer work (discovered with Xcode > Window > Organizer > Devices > my iPhone), so I'm updating to Xcode 4.5 right now, however, that doesn't explain the simulators. I'll update this question once the update is finished. The error message in Organizer was: The version of iOS on “David” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
      singulars
    2. COIt gets weirder, I've updated to Xcode 4.5 and now some of my projects work properly, and most others still don't load the simulators. I've noticed that those that do load have the name of the project in the bar where you choose the simulator or device. Those that don't (nearly all), have "CordovaLib" instead. I have no idea what the difference is between the projects. In all cases I can force open the simulator by going Xcode > Open Developer Tool > iOS Simulator, but I still can't load any apps to the simulator.
      singulars
    3. COi had a similar problem with the app not launching automatically when i ran it. the app launched automatically when i first created it, but somewhere down the line, it stopped happening. i discovered that it was because i had changed the "Product Name". when i changed it back to the original product name, it launched automatically again. i haven't had time to figure out exactly why this happens. anyway, maybe not the same exact problem you had, but i figured i'd mention it in case it helps others.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload