Skip to content

iPad running iOS 12 -- Stuck on Splash Screen #22765

Closed

Description

@jeffmikels

The App Store is rejecting my application because of this:

We discovered one or more bugs in your app when reviewed on iPad running iOS 12 on Wi-Fi.

Specifically, App stuck on splash screen.

Everything works fine in the simulator and on my older iPhone. I don't have an actual iPad device to test on, and I see nothing in the simulator logs. Any idea what I can do to fix this? Any idea why it would freeze at the splash screen on iPad but not on iPhone devices?

Activity

  1. jeffmikels commented on Oct 6, 2018

    @jeffmikels
    Author
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel master, v0.9.7-pre.61, on Mac OS X 10.12.6 16G29, locale en-US)
    [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    [✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    [✓] Android Studio (version 3.1)
    [✓] VS Code (version 1.27.2)
    [✓] Connected device (2 available)
    
    • No issues found!
    
    
  2. added this to the milestone on Oct 7, 2018
  3. jeffmikels commented on Oct 9, 2018

    @jeffmikels
    Author

    Workaround... by completely removing all Derived Data and all intermediate build files, then building from the command line, then building a release in Xcode, the correct kernel blob is created and the app can progress beyond the launch screen.

  4. Hixie commented on Oct 23, 2018

    @Hixie
    Contributor

    cc @chinmaygarde any ideas?

  5. Hixie commented on Oct 23, 2018

    @Hixie
    Contributor

    or cc @xster

  6. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Oct 24, 2018
  7. saeedjassani commented on Dec 22, 2018

    @saeedjassani

    @jeffmikels I followed the workaround but still facing the same issue. Any fix/alternate workaround?

  8. zoechi commented on Dec 22, 2018

    @zoechi
    Contributor

    Similar to #24887, #25167

  9. saeedjassani commented on Dec 22, 2018

    @saeedjassani

    Did you run flutter build ios --release command before exporting ipa from Xcode?

    Yes, I tried that too. Still not working :(

  10. zoechi commented on Dec 22, 2018

    @zoechi
    Contributor

    I followed the workaround but still facing the same issue.

    In this case we would at least need more information about what's different in your case.

  11. saeedjassani commented on Dec 23, 2018

    @saeedjassani

    Ok, so this is strange. I tried running on the Simulator iPhone and iPad and everything is working fine. Also, a recent build of mine was passed by Apple. (Previous build was rejected because it was stuck on splash screen.) But now, a tester who uses iPad says it doesn't proceed from the splash screen (I asked two people who have iPads to test, and for both of them the problem remains). For an iPhone guy, the app is working fine.

    I am unable to debug the issue but can't as everything is working fine on Simulator.

  12. 32 remaining items

  13. jerryzhoujw commented on Aug 10, 2019

    @jerryzhoujw
    Contributor

    Remove DerivedData are the point for me.

  14. mulderpf commented on Sep 5, 2019

    @mulderpf

    I am experiencing the same issue. I have done around 30 or so successful builds with no issue to iOS and now my app is being rejected being unable to go past the launch (splash) screen on iOS 12.4 on iPad with Wifi. I have tried the suggestions here, but I'm now just being rejected. Despite a fairly large amount of refactoring, there is very little reason I can see in my code or dependencies for this to have happened (in the version which succeeded I added a lot of new dependencies around Firebase, but this succeeded, so I assumed it didn't get stuck on the iPad). I'm going to have to commandeer an iPad to try and see if I can recreate the issue.

  15. GyuriMajercsik commented on Oct 4, 2019

    @GyuriMajercsik

    This just happened to us as well:

    _

    "We discovered one or more bugs in your app when reviewed on iPad running iOS 13.1.2 on Wi-Fi.

    Specifically, your app became unresponsive. No action occurred when we tapped anywhere on the screen."

    _

  16. added
    customer: crowdAffects or could affect many people, though not necessarily a specific customer.
    on Jan 3, 2020
  17. iKK001 commented on Jan 5, 2020

    @iKK001

    What helped in my case I have documented here...

    Maybe somebody from the Flutter community with more knowledge about Flutters startup pickups can explain why the above workaround helps...

  18. jmagman commented on Jan 23, 2020

    @jmagman
    Member

    It would be helpful to see an example of an app that is reproducing this issue on iPads.

    Barring that, we'd like to look at any spindumps or crash logs (Xcode > Window > Devices and Simulators > select iPad > View Device Logs) that happen when the device is stuck.

    If you can get a sysdiagnose from the device to check the logs from system_logs.logarchive (please don't post it on GitHub, there's too much personally identifiable information) or watch the Console for the device while it's happening to know if there's any logging when the slash screen first gets stuck that would also be helpful.

    Please make sure you're following all the instructions at https://flutter.dev/docs/deployment/ios#create-a-build-archive.

    This could be a form of #37850. This could be helped by #38992 if the issue was some cached bits in DerivedData.

  19. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  20. davoodio commented on Jun 12, 2020

    @davoodio

    Solved for me:

    Delete pods folder and podfile.lock
    flutter clean
    flutter build ios --release

    Let's finish

    Then Run in emulator via xcode. Its working now.

  21. removed this from the milestone on Aug 17, 2020
  22. ljmatan commented on Apr 6, 2021

    @ljmatan
  23. jmagman commented on May 27, 2021

    @jmagman
    Member

    Since this seems to be worked around by cleaning DerivedData and flutter cleaning, and we haven't seen reports for more than a year, I suspect this was something like #24887 and was fixed with #42029 and definitely with #70224.

    If anyone is seeing this on a recent version of Flutter, please let us know by opening a new bug and completely filling out the template. Closing.

    It would be helpful to see an example of an app that is reproducing this issue on iPads.

    Barring that, we'd like to look at any spindumps or crash logs (Xcode > Window > Devices and Simulators > select iPad > View Device Logs) that happen when the device is stuck.

    If you can get a sysdiagnose from the device to check the logs from system_logs.logarchive (please don't post it on GitHub, there's too much personally identifiable information) or watch the Console for the device while it's happening to know if there's any logging when the slash screen first gets stuck that would also be helpful.

    Please make sure you're following all the instructions at https://flutter.dev/docs/deployment/ios#create-a-build-archive.

  24. github-actions commented on Aug 1, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  25. locked as resolved and limited conversation to collaborators on Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.e: device-specificOnly manifests on certain devicesplatform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions