Fixing Running Xcode build, Compiling, linking and signing... hanging forever
I was trying to run my Flutter app in iOS for the first time, and couldn't run a Debug version on the Simulator. VSC would simply show me that it is building forever, while Activity Monitor showed no CPU activity.
So I tried building it with the command line with flutter build ios
. It would hang too. Googling the issue would get me to posts telling me to delete the ios folder and recreate it with flutter create .
. I did.
Then it told me that the package name "something_something" is an incorrect Dart package. It appears that Dart wants me to use dashes instead of underscores.
After that was done, the build built correctly.