flutter stuck on running xcode build
3,983
Solution 1
- Delete Xcode/DerivedData
flutter clean
flutter run
Solution 2
When I was running my project from Android Studio, it was just stuck, tried cleaning and everything but no progress.
Here is what I did:
- Try opening the project in Xcode and run it from there.
- If there are any issues, it will show them.
- Fix those issues (For me it was adding a Firebase-analytics library in pubspec.yaml as it was having Firebase-core issues)
It took another 45 minutes to run from Xcode but it did eventually run. Disappointed with Flutter on getting into issues like this one.
Author by
RockNav
Updated on November 24, 2022Comments
-
RockNav over 1 year
Flutter stuck on running xcode build; the verbose shows that it get stuck at here,
[ +14 ms] Running Xcode build... [ +20 ms] executing: [/Users/navodsanthana/AndroidStudioProjects/flash-chat-flutter/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/navodsanthana/AndroidStudioProjects/flash-chat-flutter/build/ios -sdk iphonesimulator -arch x86_64 SCRIPT_OUTPUT_STREAM_FILE=/var/folders/9_/0bt_4fkx6b3c117b__3dg0280000gn/T/flutter_tools.05FMSK/flutter_build_log_pipe.fnajhb/pipe_to _stdout FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO
-
Atul Chaudhary over 3 yearsGo to terminal inside type
flutter clean
and try again, it happens sometimes
-
-
Johny Saini over 3 yearsDid you change app name Runner to appname?
-
RockNav over 3 yearsIt worked!! It takes some to build the app so be patient that's what I found out.
-
who-aditya-nawandar about 2 yearsWhere is this folder?
-
Pankaj Kainthla almost 2 yearsThis does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. Once you have enough reputation, you can also add a bounty to draw more attention to this question. - From Review