FirebaseInstanceID is not installing properly with cocoapods

你。 提交于 2020-01-16 18:12:31

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/55434076/firebaseinstanceid-is-not-installing-properly-with-cocoapods

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!