ios - Pod install command with error -
i've been trying use cocoapods
, install them project giving me error while trying install in project location. kinda confusing ?
/library/ruby/gems/2.0.0/gems/cocoapods-0.37.2/lib/cocoapods/command.rb:127: warning: insecure world writable dir /usr/local in path, mode 040777 /library/ruby/gems/2.0.0/gems/cocoapods-core-0.37.2/lib/cocoapods-core/standard_error.rb:88:in `message': incompatible character encodings: ascii-8bit , utf-8 (encoding::compatibilityerror) /library/ruby/gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:367:in `handle_exception' /library/ruby/gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:315:in `rescue in run' /library/ruby/gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:303:in `run' /library/ruby/gems/2.0.0/gems/cocoapods-0.37.2/lib/cocoapods/command.rb:46:in `run' /library/ruby/gems/2.0.0/gems/cocoapods-0.37.2/bin/pod:44:in `<top (required)>' /usr/bin/pod:23:in `load' /usr/bin/pod:23:in `<main>'
replace character " ‘ " " ' " in podfile , try install again.
it's happen me when copy pod line somewhere else (like evernote), text editors automatically change character. it's :
pod 'afnetworking', '~> 2.0'
but when take other editor, :
pod ‘afnetworking‘, ‘~> 2.0‘
Comments
Post a Comment