React-Native
[React Native]IOS Firebase 적용하며 생긴 에러 모음
5urf
2023. 6. 21. 22:37
The Swift pod `FirebaseCoreInternal` depends upon `GoogleUtilities`, which does not define modules
[!] 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.
에러 메세지에 나와 있듯이 :modular_headers => true
를 추가해 주면 된다
ios/Podfile
...
config = use_native_modules!
pod 'GoogleUtilities', :modular_headers => true #추가
...
pod install --repo-update 할때 [BUG] Bus Error at 0x0000000100fcc000 에러
gem install --user-install ffi -- --enable-libffi-alloc
pod install --repo-update
https://stackoverflow.com/questions/68553842/error-installing-a-pod-bus-error-at-0x00000001045b8000
Error installing a pod - Bus Error at 0x00000001045b8000
I'm just learning to use cocoapods and am encountering an error when trying to install a pod. Top of error: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/lib/ffi/library.rb:275: [BUG] Bus Error at
stackoverflow.com