Re: Bluetooth failure
Re: Bluetooth failure
- Subject: Re: Bluetooth failure
- From: Alexander Spohr <email@hidden>
- Date: Sat, 12 Dec 2009 14:24:36 +0100
As far as I know, the Simulator has no GameKit as it does not exist under Mac OS. So this can not work. Therefore your problem is not the iPod but the Mac.
You need two iPhones/iPods to do GameKit tests.
atze
Am 12.12.2009 um 01:42 schrieb Development:
> I have a Gen 2 iPod and the simulator trying to share data over bluetooth I am using the standard GK routines. However the iPod cannot see the simulator and the simulator, though it can see the ipod, as soon as I try to connect I get the error in the connect screen :"Connection Lost"
>
> when i log the error this is the error data : com.apple.gamekit.GKSessionErrorDomain Code=30505 UserInfo=0x1420f30 "Failed while pending outgoing invitation."
>
> Basically I'm almost thinking that there is something wrong with the iPod's bluetooth since it appears blind and cannot accept connections. None of the connectivity routines are ever called in the code.
>
> - (void)session:(GKSession *)session didReceiveConnectionRequestFromPeer:(NSString *)peerID
> {
> NSLog(@"Connections request from: %@ to session: %@",peerID,session);
> [session acceptConnectionFromPeer:peerID error:nil];
> //
>
> }
>
> is never called on the iPod even though I am attempting to connect._______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden