2016-07-01 65 views
0

我试图安装Firebase的消息传送程序,并在终端中出现此错误.... “找到满足Firebase/Messaging依赖项的规范,但它们需要更高的最低部署目标。安装pod文件时发生Firebase消息传送错误

这是我在我的podfile

"# Uncomment this line to define a global platform for your project 
# platform :ios, ‘8.0’ 
# Uncomment this line if you're using Swift 
# use_frameworks! 

target 'PZPlayer' do 

pod ‘Firebase’ 
pod ‘Firebase/Messaging’ 
end 
" 

我怎样才能解决这个问题呢?

回答

3
# Uncomment this line to define a global platform for your project 
platform :ios, '9.0' 
# Uncomment this line if you're using Swift 
use_frameworks! 

target 'PZPlayer' do 

pod ‘Firebase’ 
pod ‘Firebase/Messaging’ 
end 

这应该是你的pod文件。尝试一下。

+0

它的工作感谢 – BOB

+0

随时随地! :)快乐的编码! – Dershowitz123

0

我确实比男人或多或少告诉我们 但我的脚步都有些不同,在终端

1):
去你的项目文件夹:
1.1)CD桌面/ YourApp
1.2)YOURMAC:YourApp费尔南达$ sudo的吊舱初始化

2)改变你的文件Podfile到:

`#Uncommen牛逼此行定义一个全球平台,为您的项目 平台:IOS,“8.0”

目标“YourApp”如果你不使用雨燕不想使用动态做
#评论这条线框架
use_frameworks!

对终端YourApp
荚 '火力地堡'


`

3)#豆荚:荚安装

4)现在,再次更改文件Podfile到:
`#取消注释此行为您的项目定义全球平台 平台:ios,'8.0'

目标“YourApp”如果你不使用雨燕不想使用动态框架
use_frameworks做
#注释此行!

#吊舱YourApp
荚 '火力地堡'
荚 '火力地堡/消息'


`

5)终端:荚更新
对不起我对我的英文,
好看!