我一直在使用 cocoa pods 并安装 fireBase 时出错
I keep getting an error with cocoa pods and installing fireBase
enter image description here
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Crystal' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Crystal
# add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Storage
end
//error yanesrosenskrabe@MacBook-Pro-de-Yanes Crystal % pod install
Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
[!] Invalid `Podfile` file: unterminated string meets end of file
/Users/yanesrosenskrabe/Downloads/Crystal/Podfile:16: syntax error, unexpected end-of-input, expecting end.
# from /Users/yanesrosenskrabe/Downloads/Crystal/Podfile:16
# -------------------------------------------
#
> end
# -------------------------------------------
yanesrosenskrabe@MacBook-Pro-de-Yanes Crystal %
您的 podFile 中有错字
pod 'Firebase/Storage
缺少结尾引号
pod 'Firebase/Storage'
使用 Cocoapods 应用程序或终端中的 pico 编辑器编辑您的 podfile 也是一个好主意,这样您就不会不小心添加任何奇怪或不可见的字符。
enter image description here
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Crystal' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Crystal
# add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Storage
end
//error yanesrosenskrabe@MacBook-Pro-de-Yanes Crystal % pod install
Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1
[!] Invalid `Podfile` file: unterminated string meets end of file
/Users/yanesrosenskrabe/Downloads/Crystal/Podfile:16: syntax error, unexpected end-of-input, expecting end.
# from /Users/yanesrosenskrabe/Downloads/Crystal/Podfile:16
# -------------------------------------------
#
> end
# -------------------------------------------
yanesrosenskrabe@MacBook-Pro-de-Yanes Crystal %
您的 podFile 中有错字
pod 'Firebase/Storage
缺少结尾引号
pod 'Firebase/Storage'
使用 Cocoapods 应用程序或终端中的 pico 编辑器编辑您的 podfile 也是一个好主意,这样您就不会不小心添加任何奇怪或不可见的字符。