Error “Invalid `Podfile` file: unknown regexp options - jackha.” when trying to run pod install

喜夏-厌秋 提交于 2019-12-25 03:15:34

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!