FirebaseInstanceID Is Not Installing Properly With Cocoapods
I performed a pod update
to my project. This project uses the following pods:
pod 'Firebase/Core'
pod 'Google-Mobile-Ads-SDK'
pod 'Fabric'
pod 'Crashlytics'
Since the update, the Pods > FirebaseInstanceID directory is not properly formatted. It's just full of .h and .m files, and a Support Files directory.
Screenshot below:
Before I performed the pod update
, the directory was properly formatted with Frameworks > FirebaseInstanceID.framework > Headers. (FYI I deleted FirebaseCrash).
Screenshot below:
This just happens in 1 particular project. I'm using Firebase in several other projects. None of them have this improper formatting of the FirebaseInstanceID directory when I update pods.
Why is FirebaseInstanceID directory not properly formatted after a pod update?
Answer
FirebaseInstanceID was recently open sourced and converted from a binary to a source CocoaPod. You'll notice in your installation that FirebaseCore has a similar structure of sources.
The Firebase SDKs are incrementally open sourcing over time. If you'd like to integrate binary frameworks into your app, you could try using CocoaPods Rome or Carthage.
However, to be clear, using the default CocoaPods installation as you're doing is recommended and best supported.
Related Questions
- → Function Undefined in Axios promise
- → What are the pluses/minuses of different ways to configure GPIOs on the Beaglebone Black?
- → Click to navigate on mobile devices
- → Playing Video - Server is not correctly configured - 12939
- → How to allow api access to android or ios app only(laravel)?
- → Axios array map callback
- → Access the Camera and CameraRoll on Android using React Native?
- → Update React [Native] View on Day Change
- → Shopify iOS SDK - issue converting BuyProductVariant to BuyProduct
- → BigCommerce and shopify API
- → Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `ListView`
- → React Native - Differences between Android and IOS
- → What is the difference between React Native and React?