razorpay_flutter在PUBSPEC.YML文件中集成显示错误


I have added in pod platform :ios, '10.0' and also config.build_settings['ENABLE_BITCODE'] = 'YES' then it should give the ERROR .   

ArgumentError-US-ASCII中的无效字节序列/Library/Ruby/Gems/2.6.0/Gems/coapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:287:在ensure_version_file_loaded中的split' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:287:in块中/Library/Ruby/Gems/2.6.0/Gems/coapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:286:在each' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:286:inreduce'中/Library/Ruby/Gems/2.6.0/Gems/coapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:286:在ensure_versions_file_loaded' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/cdn_source.rb:208:in搜索中'/Library/Ruby/Gems/2.6.0/Gems/coapods-core-1.9.3/lib/cocoapods-core/source/agregate.rb:83:在block in search' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.3/lib/cocoapods-core/source/aggregate.rb:83:in中选择'/Library/Ruby/Gems/2.6.0/Gems/coapods-core-1.9.3/lib/cocoapods-core/source/agregate.rb:83:insearch' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:416:increate_set_from_sources'/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/resolver.rb:385:在find_cached_set' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:360:in规范_for_dependency'中/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/resolver.rb:165:在sort_dependencies'中的search_for' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:274:in块中/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/resolver.rb:267:在each' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:267:insort_by'中/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/resolver.rb:267:在sort_dependencies'中的sort_dependencies' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:53:in块中/Library/Ruby/Gems/2.6.0/Gems/molinillo-0.6.6/lib/molinillo/deletes/specification_provider.rb:70:inwith_no_such_dependency_error_handling' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:52:insort_dependencies'/Library/Ruby/Gems/2.6.0/Gems/molinillo-0.6.6/lib/molinillo/solution.rb:754:在push_state_for_requirements' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:746:inrequire_nested_dependence_for'中/Library/Ruby/Gems/2.6.0/Gems/molinillo-0.6.6/lib/molinillo/resolution.rb:729:在activate_new_spec' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:686:inattempt_activate'中/Library/Ruby/Gems/2.6.0/Gems/molinillo-0.6.6/lib/molinillo/solution.rb:254:在process_topmost_state' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:inresolution'中/Library/Ruby/Gems/2.6.0/Gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:在resolve' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:94:in解析中'/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1065:在block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in节中/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1063:在resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:124:inanalyze中'/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/installer.rb:410:在resolve_dependences的analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:in块中/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/user_interface.rb:64:insection' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:inresolve_dependences'/Library/Ruby/Gems/2.6.0/Gems/coapods-1.9.3/lib/cocoapods/installer.rb:156:在install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in运行中'/Library/Ruby/Gems/2.6.0/Gems/claide-1.0.3/lib/claide/command.rb:334:在run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in运行中'/Library/Ruby/Gems/2.6.0/Gems/cocoapods-1.9.3/bin/pod:55:在<top (required)>' /usr/local/bin/pod:23:in加载中/usr/local/bin/pod:23: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+US-ASCII&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...
- Pod install fails on invalid byte sequence while having LANG=en_US.UTF-8 in profile
https://github.com/CocoaPods/CocoaPods/issues/5780 [closed] [9 comments]
2 weeks ago
- error getting while installing pod in flutter
https://github.com/CocoaPods/CocoaPods/issues/9757 [closed] [7 comments]
01 Jun 2020
- Pod Install failed
https://github.com/CocoaPods/CocoaPods/issues/9222 [closed] [3 comments]
14 Oct 2019
and 16 more at:
https://github.com/cocoapods/cocoapods/search?q=invalid%20byte%20sequence%20in%20US-ASCII&type=Issues&utf8=✓
Error output from CocoaPods:
↳
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
[0m

升级flutter并添加到最新版本的剃须刀上,它对我有效。

最新更新