gpt4 book ai didi

ios - 不兼容的编码正则表达式匹配(UTF-8 正则表达式与 ASCII-8BIT 字符串)

转载 作者:行者123 更新时间:2023-11-29 00:22:17 25 4
gpt4 key购买 nike

我正在使用 faSTLane 将 ios 部署到 hockey,我是这样写的。

 hockey_ver = String(latest_hockeyapp_version_number(
api_token: '',
app_name: '',
))

increment_version_number({
version_number: hockey_ver
})
increment_build_number({
build_number: hockey_ver
})

但是我遇到了这样的错误。我该怎么办?

/Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/parser.rb:120:in gsub': [!] incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityError) from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/parser.rb:120:injson' from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/parser.rb:140:in parse_supported_format' from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/parser.rb:105:inparse' from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/parser.rb:67:in call' from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/request.rb:383:inparse_response' from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/request.rb:351:in block in handle_response' from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/response.rb:25:inparsed_response' from /Users/khantthulinn/.rvm/gems/ruby-2.4.0@global/gems/httparty-0.15.2/lib/httparty/response.rb:88:in method_missing' from

最佳答案

将您的 httparty gem 降级到 0.14 版本:

https://github.com/jnunemaker/httparty/issues/533

关于ios - 不兼容的编码正则表达式匹配(UTF-8 正则表达式与 ASCII-8BIT 字符串),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44003013/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com