如何在Cocoapods中修复具有冲突名称的框架? [英] How to fix framework with conflicting names in Cocoapods?

查看:390
本文介绍了如何在Cocoapods中修复具有冲突名称的框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了两个私有pod,它们都依赖于相同的供应商框架。当我将pod添加到我的主项目中时,我得到以下错误:

I have created two private pods which both relies on a same vendor framework. When I add the pods into my main project I get below error:

target has frameworks with conflicting names: FirebaseAnalytics, FirebaseInstanceID, GoogleInterchangeUtilities, GoogleSymbolUtilities, and GoogleUtilities.

我尝试过cocoapods 0.39和1.0.1版本。

I tried with both cocoapods 0.39 and version 1.0.1.

推荐答案

这是Cocoapod 1.0.1中的一个错误。要解决此问题,直到他们修复测试版,我用过:

This is a bug in Cocoapod 1.0.1. To solve this untill they fix beta, I used:

pod _1.0.0_ install

这篇关于如何在Cocoapods中修复具有冲突名称的框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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