简体   繁体   中英

Titanium iOS app was rejected due the IPv6 incompatibility

Titanium SDK: 5.2.1

xCode : 6.1.1

OS x : 10.9.5

to call some API's i am using this simple a sync call:

var xhr = Ti.Network.createHTTPClient({
    onload : function() {
        this.responseText;
    },
    onerror : function(e) {
        alert(e);
    },
    timeout : 1000 * 30
});
var url = "http://xxxxxxxxxxxxxxxxxxxxxxx";
xhr.open('GET', url);
xhr.send();

Butt Apple send me something like this,

Thank you for your response. Please find the attached screenshot of the activity indicator spinning indefinitely after launching the app on an iPhone and iPad.

It would be appropriate to run your app on a device while connected to an IPv6 network to identify any issue, then revise and resubmit your app for review.

Once this issue is resolved, we can continue with the review.

I'm afraid it has nothing to do with your app specifically, or Titanium. But in this case it is your backend/DNS configured incorrectly.

You can find more info in this question: IPv6 App Store Rejection

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM