――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――### Command```/Users/wjf/.rvm/gems/ruby-2.3.0/bin/pod install```### Report* What did you do?* What did you expect to happen?* What happened instead?### Stack``` CocoaPods : 1.2.0 Ruby : ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15] RubyGems : 2.6.7 Host : Mac OS X 10.12 (16A323) Xcode : 8.2.1 (8C1002) Git : git version 2.10.1 (Apple Git-78)Ruby lib dir : /Users/wjf/.rvm/rubies/ruby-2.3.0/libRepositories : ```### Plugins```cocoapods-deintegrate : 1.0.1cocoapods-plugins : 1.0.0cocoapods-search : 1.0.0cocoapods-stats : 1.0.0cocoapods-trunk : 1.1.2cocoapods-try : 1.1.0```### Podfile```rubyplatform :ios, '7.0'#use_frameworks!??????Ҫ?õ?????????reactiveCocoatarget 'MealApp' dopod 'IQKeyboardManager'pod 'YYModel'end```### Error```ArgumentError - invalid byte sequence in UTF-8/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-core-1.2.0/lib/cocoapods-core/podfile.rb:278:in `tr!'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-core-1.2.0/lib/cocoapods-core/podfile.rb:278:in `from_ruby'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-core-1.2.0/lib/cocoapods-core/podfile.rb:252:in `from_file'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.2.0/lib/cocoapods/config.rb:191:in `podfile'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:147:in `verify_podfile_exists!'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.2.0/lib/cocoapods/command/install.rb:33:in `run'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:52:in `run'/Users/wjf/.rvm/gems/ruby-2.3.0@global/gems/cocoapods-1.2.0/bin/pod:55:in `'/Users/wjf/.rvm/gems/ruby-2.3.0/bin/pod:22:in `load'/Users/wjf/.rvm/gems/ruby-2.3.0/bin/pod:22:in `'/Users/wjf/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'/Users/wjf/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `'
```
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=invalid+byte+sequence+in+UTF-8&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
- ArgumentError - invalid byte sequence in UTF-8
https://github.com/CocoaPods/CocoaPods/issues/4813 [closed] [5 comments]
4 weeks ago
- Pod install & pod --verbose getting failed
https://github.com/CocoaPods/CocoaPods/issues/6297 [open] [3 comments]
29 Dec 2016
- Pod install fails on invalid byte sequence while having LANG=en_US.UTF-8 in profile
https://github.com/CocoaPods/CocoaPods/issues/5780 [closed] [5 comments]
24 Oct 2016
大家遇到这样的问题应该怎么办??
1:首先我们知道是大致这样一个错误:
[!] Oh no, an error occurred.
2:其次大家可以注意这里
:### Error
```
ArgumentError - invalid byte sequence in UTF-8
3:最后可以看这里,他会有相关的建议 :
Looking for related issues on cocoapods/cocoapods...
4:如果大家找不到这样的建议,可以根据1.2 谷歌,百度查找问题
5:最后实在无可为的时候,你就用最笨的方法重装吧