Reputation: 9736
Is there a way to test iphone OS 3.0 p2p applications? Can I run multiple iphone simulator instances? Aperantly no. Any help?
Upvotes: 5
Views: 4870
Reputation: 1564
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...
Upvotes: -1
Reputation:
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...
Upvotes: 0
Reputation: 169593
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?
Upvotes: 0
Reputation: 45341
You must use 2 hardware devices for testing gamekit p2p connections.
Upvotes: 0
Reputation: 13433
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/
Upvotes: 2
Reputation: 48629
According to this forum post you will need to test it on two real devices.
Upvotes: 0
Reputation: 26061
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.
Upvotes: 0