After submitting the application for review I got a rejection saying that application crash on launch, I tested the same build through test flight and its crashing at launch but the same application works when running through Xcode in all devices irrespective of OS versions.
How can I debug the issue with the Testflight build? Anything missing while creating an archive for upload?
iTunes Rejection Details
Performance - 2.1
We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.
Next Steps
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.
Resources
For additional information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks and Supporting IPv6-only Networks.
For a networking overview, please see About Networking.
I also got this issue of iPv6 from iTunes, because of nil value of device token when don't allow push notification alert ,so check some thing going nil on your side.
Related
I created an app with in-app purchase function by Codenameone, after submit the IOS build to Apple, it is rejected due to following reason
"We discovered one or more bugs in your app when reviewed on iPad running iOS 10.3.1 on Wi-Fi connected to an IPv6 network.
Specifically, we are unable to complete the In-App-Purchase process in your app."
From apple's screenshot, itemPurchaseError callback is triggered, is Codenameone in-app purchase function support IPv6 or not? Thank you
Below is the code used to trigger In-app purchase
Button in_app_purchase_btn = new Button("BuyProfessional"); >in_app_purchase_btn.addActionListener((ActionEvent e) -> Purchase.getInAppPurchase().purchase(SKU_Prof));
The IPv6 is a red herring in the error messages from Apple. It's always there to explain the environment where the failure happens. This doesn't mean they observed the app working on an IPv4 network then crashing on an IPv6 network, it just describes their environment where they saw the crash.
They usually have additional notes describing the crash they observed and you can write to the tester and ask for details if you can't see any.
Since Apples entire testing facility is IPv6 and apps pass QA Codename One obviously works on IPv6 networks without a problem.
I have an app that is developed in React Native and uses an API to handle all of the data. The app has already been approved with no problems and no crashing.
I have (after WWDC) recently done some updates to the app and tested everything locally as well on a real device. The app works fine with no crashing at all.
Apple have come back with the following response:
"Performance - 2.1 Your app crashed on iPad and iPhone running iOS
10.2 connected to an IPv6 network when we: 1. Launched app 2. Tapped"
The issue is that I cannot replicate the issue happening on my local machine (we use ipv4 at our offices) and the server is not IPv6.
I did some research and as of WWDC (2015), apps cannot be released into the store unless their APIS are on IPv6 server. However, I'm struggling to understand why this would cause the app to crash as it does work fine on my machine and on my device.
Is there a way that I can replicate the issue that apple are having? And could the issue that Apple are having be because of the IPv6 issue?
Had the same problem. Then figured out that my app did not handle the scenario when the push notification permissions were rejected by the user. So it is best to check if you are prompting users for any permission (when app initially start) and see if the app behaves as expected when these permission are Rejected. (My guess is that testers at apple usually declines these permission when they are testing)
I have done the setting on my Macbook Pro given on below link:
https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1
Screenshot of setting
http://prntscr.com/dmx0jw
, now my mac has bacome hotspot for my all testing device , but how to confirm is it ipv6 or ipv4 network ,
but how to find that crash which apple had pointed.
After you set up your mac for NAT64 Network according to the documentation that you linked, connect another device with your app installed to the wifi network. Then run the app and see if it crashes. If it crashes, you can check where the error is and see if it is at the same place in the crash log that Apple Review Team should have sent along with the app review rejection.
I have uploaded my app to Apple store. I am using iOS 10.2. After upload, I got a rejection message:
Your app crashes on iPad and iPhone running iOS 10.2 connected to an IPv6 network when we:
Specifically, we found that the app crashes after sending messages on Wi-Fi
How can I solve this?
If you app contains webservices and you have implemented NSURConnection then please convert all NSURLConnection to NSURLSession . .
My App got rejected for the same reason, but it was not the issue. The reason my app got rejected because it got crashed on login button click.
It was working when i compile and run with xcode (ie xcode 8.2.1) but apple said it was crashing.
So i tried running it in release mode because we usually run our app in debug mode when we run on xcode.
from
to
And my App crashed when i ran it on release mode and i found the bug, it happened when the compiler tried to optimise a decryption function.
I think there is some issue with the new llvm 8.0 compiler.
Now my App got even approved by AppStore.
The answer is fairly simple, you're going to have to try and reproduce the crash and fix it.
Apple won't let apps into the App Store of which it finds crashes for. I'd recommend finding a friend/family member who has an IPv6 enabled network (if you can't enable it yourself) and attempting to use your app in various conditions under that network.
The App Review network, like the networks deployed by service providers, does support IPv6-to-IPv6 connectivity. Thus, if your server supports IPv6, your app will talk to it directly, without going through the NAT64 translator.
Please check your link is support ipv6 or not use this LINK
and read more
Just add a CDN (Example: Cloudflare) to your domain, change nameservers accordingly and make sure IPv6 compatibility feature is turned ON. This worked for me
My application is been reject by apple . They have message me that
During review, your app crashed on iPad running iOS 9.2.1 and iPhone running iOS 9.2.1 when we:
-Launch app
-Logged in
This occurred when your app was used:
- Offline
- On Wi-Fi
- On cellular network
But it is working fine on simulator and ios devices .
It dont know whats wrong with it .
Here are the crash reports
http://a697.phobos.apple.com/us/r30/Purple69/v4/f4/65/c0/f465c0c1-0261-7798-dca8-9b48c0de869a/temp..lfhkdwhz.crash?downloadKey3=1454075117_e097b43bf35613b18c897f3917dcd353
http://a401.phobos.apple.com/us/r30/Purple49/v4/cb/6c/c8/cb6cc858-d47a-aba8-0a7c-1bf304c4c56f/temp..rhzbnjqi.crash?downloadKey3=1454075117_556853386b65ca6d799acd6f6ce64fac
I dont know where are these crashes and how to resolve them ?
If you have read Apple instructions, they said its crashed on offline test. That means while there is no internet connection there is not available.
Simply follow these steps:
Check Internet Reachability at every place in the app where its used
After adding it test App on the device in which Apple testers found crash to make sure its working now.
Add appropriate alert messages for no internet connection
Note:
Thing is Simulator may not give you crash all time. Its best to test on real device before submit App for review
Hope it will help for you.