FirebaseInstanceID无法与cocoapods一起正确安装 [英] FirebaseInstanceID is not installing properly with cocoapods

查看:203
本文介绍了FirebaseInstanceID无法与cocoapods一起正确安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对我的项目进行了 pod更新。该项目使用以下Pod:

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'

自更新以来, Pods> FirebaseInstanceID目录的格式不正确。它只是充满了.h和.m文件以及一个Support Files目录。

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.

以下屏幕截图:

在执行 pod更新之前,目录为使用Frameworks> FirebaseInstanceID.framework> Headers正确格式化。 (仅供参考,我删除了FirebaseCrash)

Before I performed the pod update, the directory was properly formatted with Frameworks > FirebaseInstanceID.framework > Headers. (FYI I deleted FirebaseCrash).

以下屏幕截图:

这仅在1个特定项目中发生。我正在其他几个项目中使用Firebase。

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.

为什么在更新pod后,FirebaseInstanceID目录的格式不正确?

推荐答案

FirebaseInstanceID最近开放源代码并已从二进制转换为源CocoaPod。您会在安装中注意到FirebaseCore具有类似的源结构。

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.

Firebase SDK逐渐随时间推移开放采购。如果您想将二进制框架集成到您的应用程序中,则可以尝试使用罗马CocoaPods 迦太基

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.

不过,很明显,建议并最好使用默认的CocoaPods安装。

However, to be clear, using the default CocoaPods installation as you're doing is recommended and best supported.

这篇关于FirebaseInstanceID无法与cocoapods一起正确安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆