Play iPhone apps in the SDK simulator

Discussion in 'iOS Programming' started by Metal Dice, Jul 10, 2009.

  1. Metal Dice macrumors regular

    Metal Dice

    Joined:
    Jun 3, 2009
    Location:
    Denmark
    #1
    Is it, or will it be possible to try out other people's apps in the iphone simulator (in the SDK.) Would apple allow that. Or would it be illegal if possibly.
    Of course if it was a paid app i would pay for it to try it out ind the simulator.
     
  2. Troglodyte macrumors member

    Joined:
    Jul 2, 2009
    #2
    No, it's not possible. Apps for the simulator are compiled for intel processors and apps for the actual device are compiled for arm processors. Even if you bought the app it simply won't run.
     
  3. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #3
    It is possible to try out builds of developer's apps which are compiled for the iPhone Simulator (of the same version as yours).

    These are completely different apps than the ones which run on an iPhone, or which are found in the App store, as they are compiled for a different CPU architecture. So you'd have to get folders containing these apps directly from the developer. And the developer would have to dig the folders containing these apps out of their Simulator's Library directory (the directory names are mangled).
     
  4. poisenedapple macrumors member

    Joined:
    Mar 18, 2009
    #4
    i've been wondering about this topic too..

    What developers offer this?
     
  5. sammich macrumors 601

    sammich

    Joined:
    Sep 26, 2006
    Location:
    Sarcasmville.
    #5
    Sure you can, provided:

    1. The developer of the app gives you their entire xcode project to you to compile and run in the Simulator AND
    2. The app doesn't use OpenGL
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    OpenGL seems to work okay for me in the Simulator.
     
  7. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #7
    Not Necessary.

    If you are running the same version of the iPhone SDK, the developer can simply send you the contents of their

    ~/Library/Application Support/iPhone Simulator/

    directory (use zip or Finder compress), which does not contain any xcode projects or source code. This directory will just contain the intel-compiled app bundles that the dev has run in that Simulator. If the dev only wants to send out one app, they should delete all other apps from their Simulator first.

    This is very handy for beta testing apps, as long as you don't care about realistic device performance. No provisioning or using up the devs 100 UDID's required.
     
  8. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #8
    I came across this blog post recently

    http://furbo.org/2008/11/12/the-final-test/

    Its purpose is to allow testing of your own distribution executable by resigning the bundle. I haven't tried it but it might be possible to resign apps to make them run on the device. Effectively this is ad hoc distribution but without using the 100 UUIDs from apple.
     
  9. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #9
    Re-codesigning might work with another knowledgeable registered developer.

    But since the SDK is a free (after accepting the license agreement) download, the Simulator library transfer method will work for beta testers and reviewers who aren't registered iPhone developers, even random Mac users who don't even have a iPhone or iPod Touch.
     

Share This Page