Skip to content

flutter run hangs on project made with flutter create #5398

Closed

Description

@drewwarren

Steps to Reproduce

On the iOS simulator...

flutter create new-project
cd new-project/
flutter run

Wait 1 minute and nothing has occurred. The app icon is not present on the simulator.

Flutter Doctor

[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/drewwarren/flutter
    • Framework revision abeb5c7363 (10 minutes ago), engine revision fe509b0d96

[x] Android toolchain - develop for Android devices
    x Android Studio / Android SDK not found. Download from https://developer.android.com/sdk/
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 7.3.1, Build version 7D1014

[✓] Atom - a lightweight development environment for Flutter
    • flutter plugin version 0.2.4
    • dartlang plugin version 0.6.34

Logs and Crash Reports

new-project$ flutter run
Running lib/main.dart on iPhone 5s...

No additional output after a minute

Activity

  1. drewwarren commented on Aug 15, 2016

    @drewwarren
    Author

    flutter run does work fine on flutter/examples/**. Only new projects are hanging for me.

  2. sethladd commented on Aug 15, 2016

    @sethladd
    Contributor

    Thanks for the report! We'll take a look.

  3. added this to the milestone on Aug 15, 2016
  4. Hixie commented on Aug 16, 2016

    @Hixie
    Contributor

    This is iOS only. It works fine if you're targetting Android.

  5. collinjackson commented on Aug 16, 2016

    @collinjackson
    Contributor

    Todd can repro this, but it doesn't happen for me.

    It works fine if you open the xcworkspace with Xcode and build it. Only flutter run builds seem to be affected.

    May have something to do with CocoaPods, I uninstalled my CocoaPods but still can't repro it.

  6. collinjackson commented on Aug 16, 2016

    @collinjackson
    Contributor
  7. Hixie commented on Aug 16, 2016

    @Hixie
    Contributor

    I can confirm that after opening the project in xcode and changing the application name from "com.yourcompany.testapp" to "ch.hixie.testapp" (to match my developer key) it works. I guess that's a dupe of #5256 ?

  8. collinjackson commented on Aug 16, 2016

    @collinjackson
    Contributor

    @Hixie I don't think so... opening up the workspace with Xcode fixes it, which makes me think it's this:

    http://stackoverflow.com/questions/34123017/xcodebuild-command-line-hangs

  9. added a commit that references this issue on Aug 16, 2016
    af71447
  10. Hixie commented on Aug 16, 2016

    @Hixie
    Contributor

    I see, this is a more specific example (#5256 is just about trying to give guidance when this class of issue occurs).

  11. github-actions commented on Sep 5, 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.

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

Metadata

Metadata

Assignees

Labels

c: regressionIt was better in the past than it is nowplatform-iosiOS applications specifically

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions