Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPad apps never install in Retina simulator

I've racked my brains over this one, and I'm probably just making a stupid mistake. After switching to Xcode 4.5.1 (it may have happened at 4.5) I simply cannot load an app into the iPad Retina simulator. I've edited the compilation scheme to say to always use the Retina display for the iPad. No love. It used to be that you could change simulators on the fly and whatever one was open would be the one the project compiled for. But I can't figure out how to do this in 4.5. Help!

like image 615
rsswtmr Avatar asked Jan 15 '23 04:01

rsswtmr


1 Answers

Something funky is going on, which seems to be not acting as expected. Try these solutions in the following order.

  1. Your method is correct, you set your Simulator Display preference when editing your schemes. Make sure your destination for the scheme is the iPad simulator, that it's tied to the Run scheme, and set iPad Simulator display to Retina. Save/apply your scheme changes, try to run your app. If that doesn't work, close + re-open Xcode, check scheme settings to see if they stuck, and try again

    How to change simulator display preference

    You may want to double check if your changes stuck. Delve into your project file (by right clicking on your project file, and selecting "Show Package Contents"). Then navigate to:

    xcuserdata->username.xcuserdatad->xcschemes->ProjectName.xcscheme
    

    Open it up in your favourite editor, and check to see if there's a:

    simulatorIPadDisplay = "2.000000"
    

    ...for your required scheme

  2. If none of that worked, then it may be an issue with your derived data (unlikely, but step 1 should have worked). Go to Organizer, and select the Projects tab. Then hit 'Delete...' for derived data. Do the same as before; run, close Xcode, check and re-run.

    How to delete derived data within Organizer

  3. Well we really are in a pickle, that is the only method to set your preferred simulator display for a build scheme. You may need to resort to removing Xcode and re-installing, and trying the previous steps again.

  4. What on earth is going on?! We've exhausted our methods, you may need to let Apple know about this issue.

like image 185
WDUK Avatar answered Jan 26 '23 11:01

WDUK