Error

Error (Xcode): failed to emit precompiled header '/Users/usename/Library/Developer/Xcode/DerivedData/Runner-dcuarkqxyzyelbdtgvnwacsbaues/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_2K19SZXEOP0JE-clang_32KFGSG381XWB.pch' for bridging header '/Users/dandan/flutter_projects/hsk_words/ios/Runner/Runner-Bridging-Header.h' Could not build the application for the simulator. Error launching application on iPhone 12.

Solution

1、Run 'flutter clean' 2、Run 'flutter pub get' 3、Run 'flutter build ios' If you still have the same problem, you can copy the two folders (App.framework and Flutter.framework) under build/ios to ios folder.