views:

1344

answers:

2

I have a client who wants to just drag and drop the binary to run it in the simulator.

I want to build the simulator app and email it to them.

What can the client do to install this in the simulator?

Is this possible?

Thanks for any help.

+3  A: 

As long as they are on the same version of the target O/S as you you should be fine. Look here on your local machine:

~/Library/Application Support/iPhone Simulator/User/Applications/

That is where the apps are stored.

Watch this directory and grab everything that is added when you install the app. Then you can zip those materials and have your client un-zip them under the same path.

MystikSpiral
I'll give this a shot, just hope the files aren't machine specific
Corey Floyd
I was curious about this, so I did some more extensive testing.I only had one machine to test this on, but I was able to manually remove the app from the listed directory, verify the app was no longer installed in the simulator. I then moved the files back into the Applications directory and unzipped them into a new directory called "test". The app came up fine in the simulator.The only variable left is the different machine, but everythng else seems to indicate this is going to work fine.
MystikSpiral
The problem with testing on one machine is that if any problem crops up, it'll likely be in the certificate/code-signing area. Part of that information is kept in your keychain which you didn't modify in your test. A more accurate test would be to create a different user account, login and install the SDK on it, then copy the files over and try it in the simulator.
Ramin
+2  A: 

As the poster before me has stated you will find the apps in this folder:

~/Library/Application Support/iPhone Simulator/User/Applications/

I needed to copy the following two files:

  • A folder with a cryptic name (seams to be some hash)
  • And a file with the same name as the folder and the .sb suffix

Put them in the same place on your second computer and start the simulator there:

/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications

I have tested this on my work computer and on my home computer which has no certificates installed.

Chris
Thanks, I haven't got around to testing yet but my client will need to do this soon.
Corey Floyd
With the SDK 3.2 the folder structure has changed the apps are now in: ~/Library/Application Support/iPhone Simulator/3.1.3/
Chris