This can happen when project is inside an iCloud directory, causing file duplication. There are two workarounds I see:
1- Remove duplicate files from root project. Always run find command without -delete first to make sure you're not deleting unwanted files
find . -name \*\ 2.\*
find . -name \*\ 2.\* -delete
find . -name \*\ 3.\*
find . -name \*\ 3.\* -delete
flutter clean
flutter run
2- Clean/reinstall pods, with the commands below (on flutter project root)
cd ios
pod deintegrate
cd ..
flutter clean
flutter run
https://stackoverflow.com/questions/58905933/duplicate-symbols-with-ios-build
Duplicate Symbols with IOS Build
I'm trying to run my Flutter app on IOS (on Android it works properly), but I'm getting the following error when I try to run it: Launching lib/main.dart on iPhone 11 Pro Max in debug mode... Xcode
stackoverflow.com
'๐พ ๊ฐ๋ฐ ๐พ > Flutter' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Flutter] ๋ค์ด๋ฒ ๋ก๊ทธ์ธ (iOS/Android) (1) | 2022.08.22 |
---|---|
[Flutter] Searching for inspections failed: undefined method `map' for nil:NilClass (0) | 2022.08.22 |
[Flutter] ์นด์นด์ค ๋ก๊ทธ์ธํ๊ธฐ (iOS/Android) (1) | 2022.08.04 |
[Flutter] iOS ์ฒซ ๋น๋ (0) | 2022.08.04 |
[Flutter] Consumer ์์์ ๋ชจ๋ฌ ๋์ฐ๊ธฐ (0) | 2022.06.28 |