- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
因为我在尝试运行 flutter 应用程序时运行 flutter upgrade
,所以出现此错误:
[!] An error occurred while processing the post-install hook of the Podfile
undefined method `each_child' for #<Dir:0x00007fcc34ccf6e8>
Did you mean? each_slice
/Users/youcefdahmani/Dev/flutter/packages/flutter_tools/bin/podhelper.rb:54:in `block in flutter_additional_ios_build_settings'
/Users/youcefdahmani/Dev/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `each'
/Users/youcefdahmani/Dev/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `flutter_additional_ios_build_settings'
/Users/youcefdahmani/Work/Projects/MyShop/my_shop_app/ios/Podfile:39:in `block (3 levels) in from_ruby'
/Users/youcefdahmani/Work/Projects/MyShop/my_shop_app/ios/Podfile:38:in `each'
/Users/youcefdahmani/Work/Projects/MyShop/my_shop_app/ios/Podfile:38:in `block (2 levels) in from_ruby'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:179:in `post_install!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:897:in `run_podfile_post_install_hook'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:885:in `block in run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:145:in `message'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:884:in `run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:329:in `block (2 levels) in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in
`write!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:328:in `block in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:307:in `create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:299:in `generate_pods_project'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:178:in `integrate'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:166:in `install!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `load'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `<main>'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:899:in `rescue in run_podfile_post_install_hook'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:896:in `run_podfile_post_install_hook'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:885:in `block in run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:145:in `message'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:884:in `run_podfile_post_install_hooks'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:329:in `block (2 levels) in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in
`write!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:328:in `block in create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:307:in `create_and_save_projects'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:299:in `generate_pods_project'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:178:in `integrate'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:166:in `install!'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Users/youcefdahmani/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `load'
/Users/youcefdahmani/.rbenv/versions/2.5.8/bin/pod:23:in `<main>'
Error output from CocoaPods:
↳
[!] Automatically assigning platform `iOS` with version `11.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your
Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
Error launching application on iPhone 12 Pro Max.
这似乎是与我的 ruby 版本相关联的错误,但是当我检查我的版本时,它是 2.5.8。我尝试搜索此问题的答案,但一无所获。请你帮忙解决这个问题。
最佳答案
将您的 ruby 版本至少更新到 2.6.x
Flutter后台依赖ruby,ruby从2.6开始引入了each_child命令
关于ruby - #<Dir :0x00007fcc34ccf6e8> Did you mean? each_slice 的未定义方法 `each_child',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66601691/
我有 2 个时间序列,我正在使用 ccf 来查找它们之间的互相关性。ccf(ts1, ts2) 列出所有时间滞后的互相关。如何在不手动查看数据的情况下找到导致最大相关性的滞后? 最佳答案 发布答案ht
我对 R 很陌生。我的数据看起来(简化)如下: ID % group_by(ID) %>% filter(!(all(is.na(Affect))|all(is.n
我看到了here在将(单列)XTS 对象传递给 ccf(互相关)函数时,您应该使用 drop。 (样本数据比较大,所以放了in a gist) library(xts) gist="https://g
我看到了here在将(单列)XTS 对象传递给 ccf(互相关)函数时,您应该使用 drop。 (样本数据比较大,所以放了in a gist) library(xts) gist="https://g
我正在尝试更改 cache.ccf 文件的路径大约一个小时... 当我调用 JCS.getInstance("myRegion"); 时出现此错误: Exception in thread "main
我对此一直很摸不着头脑。现在,除了 Julia 在滞后方面给出了看似倒退的结果 julia> crosscor([1,2,3,4], [1,2,3,1])' 1x7 Array{Float64,2}:
在 R shell 中执行 a 和 b 之间的互相关: > x=ccf(a,b) > x Autocorrelations of series ‘X’, by lag ... 为什么使用术语“自相关”
我是一名优秀的程序员,十分优秀!