Question

Is there a way to test iphone OS 3.0 p2p applications? Can I run multiple iphone simulator instances? Aperantly no. Any help?

Was it helpful?

Solution

I put up a detailed post on how to do this a couple weeks ago, so I'll just refer you to it: http://ramin.firoozye.com/2009/06/18/debugging-peer-to-peer-and-wifi-apps-on-the-iphone/

OTHER TIPS

Try to get permission from work or someplace with several computers on a LAN to run several instances. This will let you test network stuff, too.

According to this forum post you will need to test it on two real devices.

You must use 2 hardware devices for testing gamekit p2p connections.

Untested, but you should be able to run two instances of the iPhone Simulator by duplicating it..

Run the simulator as normal for phone 1.

For the second, go to /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ and copy (not move) the application somewhere (your Desktop?). When you run the copy, it will ask where the Developer Tools are installed and the application to run. Provide this and it should run a second copy.

Also, perhaps you could test it on both your real phone and the simulator?

I found a solution:

activate tethering on your iPhone connect your mac with the simulator on it to the phone

Now you can test the gamekit on your sim and your iPhone

(I also have internet-sharing activated on my macbook - but I think the tethering-part is important... oh, this implies that bluetooth is running on the iPhone and the mac, of course)...

I'm pretty happy I found this solution - this was a major drawback...

I try to the same test on my macbook OS5.0 and iPhone 3gs , the iPhone simulator app can see the iPhone device via the app , but can not connected ... does this problem cause the bluetooth device is unauthorized ?

install VMware seem great but too trouble...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top