pod install시 아래 오래 발생
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `FirebaseCoreInternal` depends upon `GoogleUtilities`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
Swift pods와 module definition과 관련하여 충돌로 인해 발생
iOS/Podfile을 열어서 아래와 같은 방법으로 해결
1. The simplest solution is to add use_modular_headers! to your Podfile. Open your ios/Podfile and add this line near the top, after the platform definition:
platform :ios, '13.0'
use_modular_headers! # Add this line
target 'YourProjectName' do
...
end
2. If you don't want to apply it globally, you can specify it only for the problematic pods:
platform :ios, '13.0'
target 'YourProjectName' do
# Your other pod configurations...
pod 'FirebaseCoreInternal', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
end
위와 같이 해주고, pods 관련 캐시 지우고 다시 실행
cd ios
pod deintegrate
pod cache clean --all
pod install