Help! iPhone simulator crashes for no reason!

Discussion in 'iOS Programming' started by mandude, Apr 23, 2010.

  1. mandude macrumors member

    Joined:
    Nov 19, 2009
    #1
    Ok so whenever I make a project that normall works fine on iPhone simlulator 4.0 it installs on simulator fine. But if I try to run the iPhone 3.13 simulator the app simply crashes on startup, with no warnings or errors. Even when I click file > new project > build and run It still crashes in iPhone simulator 3.13 and works fine in 4.0 Help please :(
     
  2. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #2
    I don't know much about the simulators, but the problem is probably due (at least in part) to you trying to run software built on the 4.0 framework on an older version (3.1.3).
     
  3. mandude thread starter macrumors member

    Joined:
    Nov 19, 2009
    #3
    Hmm that makes sense, but when without even writing a bit
    of code it still only installs on 4.0 simulator how do I fix this : /
     
  4. iLoveDeveloping macrumors 6502

    Joined:
    Sep 24, 2009
    Location:
    Ireland
    #4
    This crash is not "for no reason", it makes perfect sense..

    You need to run a 4.0 App in the 4.0 simulator. Simple. If you want it to also run on a lower simulator or device which i assume is what your asking, you need to set the minimum build target to whatever you need (3.1.3, 3.0 so on). This should fix it!

    If not, then its a bug and you need to submit a bug report to Apple.
     
  5. mandude thread starter macrumors member

    Joined:
    Nov 19, 2009
    #5
    and how may i set the minimum build target.... by the drop down menu in the top left of xCode?
     

Share This Page