Firebase pod 安装错误
Firebase pod installation error
我真的卡在了将 Firebase 安装到我的 iOS 应用程序的这一步。Firebase installation to Xcode 我尝试了很多次,最后我可以将一些 'pod files' 安装到我的项目中。但是当我添加 import Firebase
时,错误显示为
No such module 'Firebase'
谁能告诉我如何将 firebase pod 安装到我现有的 ios 项目中?还有如何清除我刚刚安装的pod。
我正在使用 swift 2.2、Scode 7.3 和 mac os x ei
我的播客内容是
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
target ‘APPNAME’ do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for APPNAME
target 'APPNAME Tests' do
inherit! :search_paths
# Pods for testing
end
target 'APPNAME UITests' do
inherit! :search_paths
# Pods for testing
end
end
我的错误:
image of my error
在您的 pod 文件中添加这一行
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
target ‘APPNAME’ do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'Firebase', '>= 2.5.1'
# Pods for APPNAME
target 'APPNAME Tests' do
inherit! :search_paths
# Pods for testing
end
target 'APPNAME UITests' do
inherit! :search_paths
# Pods for testing
end
end
然后更新 pod
我真的卡在了将 Firebase 安装到我的 iOS 应用程序的这一步。Firebase installation to Xcode 我尝试了很多次,最后我可以将一些 'pod files' 安装到我的项目中。但是当我添加 import Firebase
时,错误显示为
No such module 'Firebase'
谁能告诉我如何将 firebase pod 安装到我现有的 ios 项目中?还有如何清除我刚刚安装的pod。
我正在使用 swift 2.2、Scode 7.3 和 mac os x ei
我的播客内容是
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
target ‘APPNAME’ do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for APPNAME
target 'APPNAME Tests' do
inherit! :search_paths
# Pods for testing
end
target 'APPNAME UITests' do
inherit! :search_paths
# Pods for testing
end
end
我的错误: image of my error
在您的 pod 文件中添加这一行
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
target ‘APPNAME’ do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'Firebase', '>= 2.5.1'
# Pods for APPNAME
target 'APPNAME Tests' do
inherit! :search_paths
# Pods for testing
end
target 'APPNAME UITests' do
inherit! :search_paths
# Pods for testing
end
end
然后更新 pod