我刚刚学习使用 cocoapods,在尝试安装 pod 时遇到错误。
错误顶部:
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.3/lib/ffi/library.rb:275: [BUG] 0x00000001045b8000 ruby 2.6.3p62 处的总线错误(2019-04-16 修订版 67580)[通用.arm64e-darwin20]
错误底部:
zsh:中止 pod 安装
按照此处和 GitHub 上一些线程的建议,已尝试以下操作:
但似乎没有什么效果;错误仍然存在,并且 .xcworkspace 文件不出现。
任何帮助将非常感激。谢谢你!
当我将 google_sign_in 包实现到我的 flutter 应用程序时,我收到以下错误/日志。\n我正在使用 m1 芯片。所有软件包、flutter 框架和 xcode 的最新版本。
\nFlutter项目依赖:
\n一开始我得到了这个:
\n\n\n\n Error output from CocoaPods:\n \xe2\x86\xb3\n [!] Automatically assigning platform `iOS` with version `9.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`.\n\n \n\n然后我取消注释这个平台:ios,\'9.0\'然后我在 ios/Podfile 中
\n但不同的错误显示如下:
\n\n\n\n Launching lib/main.dart on iPhone 13 in debug mode...\n lib/main.dart:1\n CocoaPods\' …Run Code Online (Sandbox Code Playgroud)