尝试使用 Podfile 在我的目标 c 项目中安装 XMPPFramework [英] Trying to install XMPPFramework in my objective c Project using Podfile
问题描述
我正在尝试使用 Podfile 在我的目标 c 项目中安装 XMPPFramework.我在我的 Podfile 中写了这个:
I am trying to install XMPPFramework in my objective c Project using Podfile.I had write this in my Podfile:
platform :ios, ‘8.0’
use_frameworks!
target ‘XMPP’ do
pod 'XMPPFramework', :git =>"https://github.com/robbiehanson/XMPPFramework.git", :branch => 'master'
end
但是当 pod install
这个错误显示在控制台中时我收到这个错误.这是控制台的图像::
But I am getting this Error while pod install
this error is show in console.This is the image of console::
有人可以帮我吗.谢谢.
Can some one please Help me.Thanks.
推荐答案
将此添加到您的 pod 文件中,
pod 'XMPPFramework'
pod 'XMPPFramework'
删除,
pod 'XMPPFramework', :git=>"https://github.com/robbiehanson/XMPPFramework.git", :branch=> '大师'
pod 'XMPPFramework', :git =>"https://github.com/robbiehanson/XMPPFramework.git", :branch => 'master'
跑,
pod 安装
试试这个.希望能帮到你.
Try this. Hope it will help you.
这篇关于尝试使用 Podfile 在我的目标 c 项目中安装 XMPPFramework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!