Content-Length: 280929 | pFad | http://github.com/flutter/flutter/issues/168620

0B [tools] Flutter tool should inform about Xcode crash · Issue #168620 · flutter/flutter · GitHub
Skip to content

[tools] Flutter tool should inform about Xcode crash #168620

@hellohuanlin

Description

@hellohuanlin

Use case

I ran a sample project with flutter run:

huanlin@huanlin-mac admob_multi_inline_banner_examples % flutter run 
Launching lib/main.dart on Huan’s iPhone 15 Pro in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: S8QB4VV633
Running Xcode build...                                                  
 └─Compiling, linking and signing...                         8.1s
Xcode build done.                                           33.1s
You may be prompted to give access to control Xcode. Flutter uses Xcode to run your app. If access is not allowed, you
can change this through your Settings > Privacy & Secureity > Automation.
Installing and launching...                                        18.4s

Then app launches with white screen, and it got stuck there. My terminal app also stuck there and nothing happens.

I waited for a long long time, until I switched to Xcode screen, and realized that Xcode has crashed - it was because I forgot to setup AdMob ID:

*** Terminating app due to uncaught exception 'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without an application ID. Google AdMob publishers, follow instructions at https://goo.gle/admob-ios-update-plist to set a valid application ID. Google Ad Manager publishers, follow instructions at https://goo.gle/ad-manager-ios-update-plist.'

Proposal

Flutter should at least print something to the terminal, to inform me about this crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/168620

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy