-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
I was upload my new flutter app to AppStore and it's got rejected due to this problem...
"the app content failed to load after we launch. "
But it's working fine when I test it on Simulator and as well as connected real device. But problem has been arising when I export the ipa for internal testing. After installed the exported ipa, when I launch it nothing is loading, just white screen.
I am using Xcode 10.1 and my selected method of distributiontion is 'Development'
Then I decide to debug the project and for this I just created new flutter project (with default code, floating button and counter functionality). And export ipa by using same Bundle Id and certificate/provisioning and same method. It was working fine!
Then I added the dependencies in .yaml file for this project, and export again without added any other code. Then the same problem is came to new project also.
I am using for libraries:
image_picker: ^0.4.10. ----------- (white screen problem)
path_provider: ^0.4.1 -------------(white screen problem)
flutter_colorpicker: ^0.1.0 --------- (working fine)
after_layout: ^1.0.7 ---------------- (working fine)
And the problem is with two libraries only, image_picker and path_provider. And flutter_colorpicker and after_layout working fine.
But don't know why all four libraries working fine when I test on connected iOS device and Simulator. problem is only arise when I export the ipa.
Please help me.
[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.13.6 17G65, locale en-IN)
• Flutter version 0.11.3 at /Users/mandeep/development/flutter
• Framework revision 72bf075e8d (3 weeks ago), 2018-11-09 20:36:17 -0800
• Engine revision 5646e86a6f
• Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/mandeep/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 30.0.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] VS Code (version 1.29.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.21.0
[✓] Connected device (1 available)
• iPhone XR • AA94ED49-A1D7-46B7-8FDB-696A8E2E68FC • ios • iOS 12.1 (simulator)
• No issues found!