M1 升级到macos 13.3.1 git 拉/推代码每次都需要重新输入密码,git ssh key无效问题。Permission denied, please try again.
1.Git需要重新输入密码 Permission denied, please try again.
ssh-keygen -t ed25519 -C “邮箱”
cat ~/.ssh/id_ed25519.pub 负责到git帐号sshkey
2. 报错 Exception: CocoaPods not installed or not in valid state.
1).更新ruby版本gem
命令 xcode-select --install
2).更新CocoaPods
命令 sudo gem update cocoapods(不要用brew install cocoapods会找不到)
查看pad版本 pod --version
3).重新打开android studio 如果还是会报错,请用下面的命令打开
open /Applications/Android\ Studio.app
参考文章:https://blog.csdn.net/qq_26439323/article/details/127379136