pod install 失败 Library not loaded:/opt/homebrew/opt/openssl@1.1/lib/libssl.1.1.dylib
1. \curl -sSL https://get.rvm.io | bash -s stable
2. rvm install 3.1.1 //版本随意
3. gem install cocoapods
4. 确认which pod的输出类似于:
/Users/foo/.rvm/gems/ruby-2.6.3/bin/pod
从vImage_Buffer转到CVPixelBufferRef
[Mac 安装brew]
/bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/in…)" 报错 curl: (35) error:14004410:SSL routines:CONNECT_CR_SRVR_HELLO:sslv3 alert handshake failure
/usr/bin/ruby -e "$(curl -fsSL cdn.jsdelivr.net/gh/ineo6/ho…)"
[mac 安装git lfs]
brew install git-lfs
报错 Failed to download resource "git-lfs"
Download failed: https://ghcr.io/v2/homebrew/core/git-lfs/blobs/sha256:def0547e1e83bda58b68b6880f3eb5a0a803df0addfb6e4915b6b76852735195
解决办法
vi ~/.bash_profile
最后添加
export SSL_CERT_DIR="/usr/local/etc/openssl/certs"
export SSL_CERT_FILE="/usr/local/etc/openssl/cert.pem"
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/bottles
git lfs install
flutter shell配置
# flutter 配置
\
export FLUTTER=/opt/flutter/bin
export PATH=$FLUTTER:$PATH
# android sdk目录,
export ANDROID_HOME="/Users/zego/Library/Android/sdk"
# android 模拟器
export PATH=${PATH}:${ANDROID_HOME}/emulator
# android tools 路径
export PATH=${PATH}:${ANDROID_HOME}/tools
# android 平台工具
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
# Flutter 镜像配置
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn