작성
·
655
0
Redefinition of module 'FirebaseCoreInternal'
/ios/Pods/Headers/Public/FirebaseCore/FirebaseCore.modulemap:1:8: Redefinition of module 'FirebaseCore'
에러가 뜨는데요
배달앱을 아래 버전으로 작업을 하고 있었구요 ^^;;
안드로이드에선 다 잘되는데 ios에서는 안되네요 ㅜ,ㅜ
pod file 에
pod 'Firebase/Analytics'
pod 'Firebase/Messaging', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'Firebase', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
pod 'FirebaseCoreInternal', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
$RNFirebaseAsStaticFramework = true
$FirebaseSDKVersion = '9.3.0'
추가했습니다
"react": "17.0.2",
"react-native": "^0.68.2",
답변 1
0
Google Utilities를 제외한 podfile에 적은 저것들 다 지우세요. 뭘 보시고 적으신건가요? 제 강좌가 아닌 다른 해결책을 보고 하시다가 문제가 생기셨을 때는 그 해결책 링크도 같이 주셔야 제가 그걸 확인할 수 있습니다.
네 저글 찾조를 했습니다
/Users/joshuakim/Library/Developer/Xcode/DerivedData/FoodDeliverayApp-eywbjldyxbiksdajlkizsiiycufd/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCoreInternal.modulemap:1:8: note: previously defined here
module FirebaseCoreInternal {
요 에러 때문에 빌드가 계속 안되는거 같습니다
clean build
build folder clean 해도 동일해서요
한번 처음부터 다시 ios 만 다시 해보려고 합니다 만약동일하게 나오면...
인텔맥에서 다시해봐야...
저거 이 글 참조하신 거 아닐까요??
https://dev.to/matthewzruiz/firebase-the-following-swift-pods-cannot-yet-be-integrated-as-static-libraries-b59
대신에 zerocho님 말씀처럼, 나머지는 다 지우되 "Google Utilities"는 아마 남겨두셔야 빌드가 되실 거에요...(아마 M1 문제였던 걸로 기억하는데, 당시에 빌드가 안 되어서 저도 추가했었습니다)