반응형
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
반응형
'🐾 개발 🐾 > 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 |