App rejected because of IPV6 implementation

Hi Forum,

My app hase been rejected because of following reason below

"Please revise your app and test it on a device while connected to an IPv6 network (all apps must support IPv6) to ensure it will launch without crashing."


I have source in my code with


+(void) requestWithCode:(NSInteger) code delegate:(id)delegate valueDic : (NSDictionary *) dic

{

NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:SERVER_URL, code]];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];

[request setHTTPMethod:@"POST"];

if(dic != nil)

[request setValuesForKeysWithDictionary:dic];

/

[[NSURLConnection alloc] initWithRequest:request delegate:delegate];

}


How can I change my source to fix the problem.

My application server is running on IPV4.


Best regards

AA Korea

Replies

The vast majority of problems like this are related to server-side infrastructure, and specifically the DNS setup. While your server does not have to support IPv6 to be compatible with DNS64/NAT64, there are many ways that a misconfigured server can cause problems for clients in that environment. You should read through the info in my Supporting IPv6-only Networks pinned post, and then work through the steps discussed in the article linked to by FAQ#6 of that post.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"