Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cocoapods 报错 #522

Closed
CoderLwcXing opened this issue Aug 1, 2019 · 0 comments
Closed

cocoapods 报错 #522

CoderLwcXing opened this issue Aug 1, 2019 · 0 comments

Comments

@CoderLwcXing
Copy link

Launching lib/main.dart on iPhone Xʀ in debug mode...
CocoaPods' output:

[!] Invalid Podfile file: invalid byte sequence in US-ASCII.
# from /Users/l_wcx/Desktop/我的代码/gitHub/GSYGithubAppFlutter/ios/Podfile:15
# -------------------------------------------
# File.foreach(file_abs_path) { |line|
> next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
# plugin = line.split(pattern=separator)
# -------------------------------------------
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:301:in rescue in block in from_ruby' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:295:in block in from_ruby'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:50:in instance_eval' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:50:in initialize'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:293:in new' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:293:in from_ruby'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.7.5/lib/cocoapods-core/podfile.rb:259:in from_file' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/config.rb:199:in podfile'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:150:in verify_podfile_exists!' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command/install.rb:45:in run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:52:in run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/bin/pod:55:in `<top (required)>'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant