问题
My username is Jack for the computer if that makes a difference for the jackha
. I am trying to use cocoapods with firebase, but made the mistake of not doing pod init
since I know almost nothing about code and am learning as I go. Here is what my Podfile consists of:
Project /Users/jackminehan/Documents/Arbitrium/Arbitrium.xcodeproj
platform :ios, '11.0'
target "Arbitrium" do
pod 'Firebase/Core'
end
And my error when trying to use pod install
is:
[!] Invalid `Podfile` file: unknown regexp options - jackha.
# from /Users/jackminehan/Documents/Arbitrium/Arbitrium.xcodeproj/Podfile:1 # -------------------------------------------
Project /Users/jackminehan/Documents/Arbitrium/Arbitrium.xcodeproj # platform :ios, '11.0' # -------------------------------------------
回答1:
You don't need this line, just delete it : Project /Users/jackminehan/Documents/Arbitrium/Arbitrium.xcodeproj
来源:https://stackoverflow.com/questions/54174679/error-invalid-podfile-file-unknown-regexp-options-jackha-when-trying-to