对于想了解如何在AppleSilicon(M1)上运行CocoaPods的读者,本文将是一篇不可错过的文章,我们将详细介绍m1安装cocoapods,并且为您提供关于/usr/local/lib/ru
对于想了解如何在 Apple Silicon (M1) 上运行 CocoaPods的读者,本文将是一篇不可错过的文章,我们将详细介绍m1安装cocoapods,并且为您提供关于/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version、/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version&...、Android Studio无法识别cocoapods 平台 flutter版本颤抖的医生 gem list cocoapods pubspec.yml、AppCode 2020.3.1 发布,支持 Apple Silicon的有价值信息。
本文目录一览:- 如何在 Apple Silicon (M1) 上运行 CocoaPods(m1安装cocoapods)
- /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version
- /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version&...
- Android Studio无法识别cocoapods 平台 flutter版本颤抖的医生 gem list cocoapods pubspec.yml
- AppCode 2020.3.1 发布,支持 Apple Silicon
如何在 Apple Silicon (M1) 上运行 CocoaPods(m1安装cocoapods)
我有一个试图在 iOS 上运行的 Flutter 项目。它在我基于 Intel 的 Mac 上正常运行,但在我新的基于 Apple Silicon 的 M1
Mac 上却无法安装 pod。
LoadError - dlsym(0x7f8926035eb0,Init_ffi_c): symbol not found - /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi.rb:6:in `rescue in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi.rb:3:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.12.0/lib/ethon.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:74:in `cdn_url?'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:36:in `create_source_with_url'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/sources_manager.rb:21:in `find_or_create_source_with_url'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:178:in `block in sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:177:in `map'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:177:in `sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:1073:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:414:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/installer.rb:160:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.0/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
基于 Github 解决方法,我尝试使用 Rosetta 运行终端,但问题仍然存在:https
://github.com/CocoaPods/CocoaPods/issues/9907#issuecomment-655870749
意识到使用 Apple Silicon 的 Mac 还为时过早。有没有办法暂时使这项工作?
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version
问题及分析
今天做项目的时候,执行pod update报了如下错误信息:
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in
git_version': Failed to extract git version from
git --version("xcrun: error: active developer path (\"/Users/feiwei/Desktop/Xcode.app/Contents/Developer\") does not exist\nUse
sudo xcode-select --switch path/to/Xcode.appto specify the Xcode that you wish to use for command line developer tools, or use
xcode-select --installto install the standalone command line developer tools.\nSee
man xcode-select` for more details.\n") (RuntimeError)
粗略一看,应该是找不到git。为什么找不到?首先,有可能没有安装git;其次,可能是关联路径不对。
解决方案
1.没有安装git
可以在终端执行:xcode-select --install。如果你的电脑系统更新了,有可能这个命令解决不了你的问题,那么,这时候需要到git官网下载安装,下载链接https://git-scm.com/download/mac。
2.关联路径不对
这个问题可以使用命令:sudo xcode-select --switch /Users/feiwei/Downloads/Xcode.app,其实这个命令就是指定Xcode的安装目录。如果你不知道安装路径,或者不想用命令,Xcode -->Preferences-->Locations并选择Command Line Tools,看看是否选择了当前Xcode版本。
简书:
https://www.jianshu.com/u/fa72e27b5006
CSDN:https://blog.csdn.net/xiaocaoyu111
PS:本文原创发于微信公众号longyoung,关注并回复「51电子书」免费领取程序员必读经典电子书。
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version&...
问题及分析
今天做项目的时候,执行 pod update 报了如下错误信息:
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in
git_version'': Failed to extract git version from
git --version("xcrun: error: active developer path (\"/Users/feiwei/Desktop/Xcode.app/Contents/Developer\") does not exist\nUse
sudo xcode-select --switch path/to/Xcode.appto specify the Xcode that you wish to use for command line developer tools, or use
xcode-select --installto install the standalone command line developer tools.\nSee
man xcode-select` for more details.\n") (RuntimeError)
粗略一看,应该是找不到 git。为什么找不到?首先,有可能没有安装 git;其次,可能是关联路径不对。
解决方案
1. 没有安装 git
可以在终端执行:xcode-select --install。如果你的电脑系统更新了,有可能这个命令解决不了你的问题,那么,这时候需要到 git 官网下载安装,下载链接 https://git-scm.com/download/mac。
2. 关联路径不对
这个问题可以使用命令:sudo xcode-select --switch /Users/feiwei/Downloads/Xcode.app,其实这个命令就是指定 Xcode 的安装目录。如果你不知道安装路径,或者不想用命令,Xcode -->Preferences-->Locations 并选择 Command Line Tools,看看是否选择了当前 Xcode 版本。
简书:https://www.jianshu.com/u/fa72e27b5006
CSDN:https://blog.csdn.net/xiaocaoyu111
PS:本文原创发于微信公众号 longyoung,关注并回复「51 电子书」免费领取程序员必读经典电子书。
原文出处:https://www.cnblogs.com/longyoung/p/11696339.html
Android Studio无法识别cocoapods 平台 flutter版本颤抖的医生 gem list cocoapods pubspec.yml
尝试从终端 open /Applications/Android\ Studio.app
这似乎解决了导致 CocoaPods not installed
错误的 PATH 问题。 (https://github.com/flutter/flutter-intellij/issues/4981#issuecomment-751443625)
AppCode 2020.3.1 发布,支持 Apple Silicon
AppCode 2020.3.1 现已发布,并且用户可以在下载时选择支持 Apple Silicon 的版本。
具体更新内容
- Swift:OptionSet 成员未在数组中解析
- 使用 NSParameterAssert 和其它宏后出现 “Error after macro substitution: Can''t resolve variable ''__FILE_NAME__ ”
- 打开大型项目时崩溃
- 具有按文件编译标志的项目中的内存消耗很高(比如使用 CocoaPods 的项目)
- 无法在 Apple Silicon Mac上 的模拟器上启动应用程序
- 连接第二台设备时会更改第一个设备的选择
- 在 Xcode Project 视图中双击一个组但不会切换它
- unsafeBitCast 调用以红色高亮显示
- 关键字参数高亮显示不起作用
- 在 Xcode 文档中添加“可用性”部分
- ......
更多详细内容请查看更新说明。
关于如何在 Apple Silicon (M1) 上运行 CocoaPods和m1安装cocoapods的介绍现已完结,谢谢您的耐心阅读,如果想了解更多关于/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version、/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:118:in `git_version&...、Android Studio无法识别cocoapods 平台 flutter版本颤抖的医生 gem list cocoapods pubspec.yml、AppCode 2020.3.1 发布,支持 Apple Silicon的相关知识,请在本站寻找。
本文标签: