You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter run hangs on project made with flutter create #5398
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...
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 ?
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.
Activity
drewwarren commentedon Aug 15, 2016
flutter run does work fine on flutter/examples/**. Only new projects are hanging for me.
sethladd commentedon Aug 15, 2016
Thanks for the report! We'll take a look.
Hixie commentedon Aug 16, 2016
This is iOS only. It works fine if you're targetting Android.
collinjackson commentedon Aug 16, 2016
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.
collinjackson commentedon Aug 16, 2016
@tvolkert
Hixie commentedon Aug 16, 2016
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 ?
collinjackson commentedon Aug 16, 2016
@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
Fix flutter#5398 flutter run hangs on project made with flutter create
Hixie commentedon Aug 16, 2016
I see, this is a more specific example (#5256 is just about trying to give guidance when this class of issue occurs).
github-actions commentedon Sep 5, 2021
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 -vand a minimal reproduction of the issue.