Asking for help with a rejection that lasts several weeks

https://www.youtube.com/watch?v=PO4UBVURX7M

I've been getting rejected for several weeks, but I'll try to solve the problem through search or kindly provide guidance.

The problem of claiming that the splash screen is frozen is frustrating because it cannot be reproduced.

I also took a video and delivered it, and I'm really trying my best, but I don't know how.

If you are developing in Flutter and receive feedback that it is stuck on the splash screen, can you get help on how to resolve it?

What I found out through searching is to build it in the shell as follows:

sudo rm -rf $HOME/Library/Developer/Xcode/DerivedData/* && cd ~/Projects/myproject && flutter clean && flutter pub get && cd ios && rm -rf Podfile.lock Pods && pod install && cd .. && flutter build ios --release

and xcode -> archive -> apple upload.

Even if I upload like this, there is a splash problem sometimes and I don't know what to do.

Thank you for your post. In your video, the splash screen appears for more than 20 seconds. This may cause rejection when submitting. You should investigate the cause of the delay during startup, including the actions taken before the first view and the API calls that are causing the delay. Additionally, you should examine the libraries and frameworks being loaded. The Xcode output and Instruments can provide valuable insights into these issues.

Are you using anything than Xcode to develop you application?

To address the issue of the splash screen getting stuck during app launch, here are some additional steps you can take:

  • Deep dive into the AppDelegate:
    • The AppDelegate is a critical component in Flutter iOS apps. Review your AppDelegate.swift file to ensure it handles the launch process correctly.
    • Pay attention to methods like application:didFinishLaunchingWithOptions:, which should trigger the transition from the splash screen to the main screen.
  • Check for conflicting plugins:
    • Sometimes, plugins can cause conflicts or disrupt the app's launch sequence. Review the plugins you are using and check for any reports of similar issues.
    • Try temporarily disabling some non-essential plugins and see if the splash screen issue resolves.
  • Verify launch images:
    • Ensure that you have correctly provided launch images for all device orientations and screen sizes. Incorrect or missing launch images can cause the splash screen to appear frozen.
    • In Xcode, go to Images.xcassets and verify the presence of launch images for different devices.
  • Test on different devices:
    • The issue might be specific to certain devices or iOS versions. Test your app on various devices and simulators to identify potential platform-specific problems.
  • Review app logs:
    • Check the app logs for any relevant error messages or warnings during the launch process. These logs can provide valuable insights into what might be going wrong.
  • To access logs:
    • Connect your device to your computer.
    • Open Xcode.
    • Select your app in the Xcode organizer.
    • Click on the "Devices" tab.
    • Select your device from the list.
    • Click on the "Console" tab to view the logs.
  • Consider using a launch screen timer:
    • If the splash screen is taking longer than expected to load, you can implement a timer in your code to automatically transition to the main screen after a certain delay. This is a temporary workaround but can help indicate if the issue is related to slow loading times.

By combining these steps with the suggestions you've already mentioned, you should have a more comprehensive approach to resolving the elusive splash screen freeze issue.

Albert Pascual
  Worldwide Developer Relations.

Asking for help with a rejection that lasts several weeks
 
 
Q