Homebrew 使用中的一些问题
2023-03-31
No Cask quarantine support available: Swift runtime error 或 listxattr for destination failed: 2 遇到这个问题,首先要确定 CommandLineTools 是否安装了正确版本,查看 brew doctor 的提示。 如果安装正确,有可能是使用 OCLP 安装 Sequoia 导致,传递给 Swift 脚本的参数不正确,受影响的包括: /usr/local/Homebrew/Library/Homebrew/cask/utils/copy-xattrs.swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift /usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift …
交叉编译 Go 语言项目 frp for iOS
2019-09-03
首先安装 Go 语言环境,然后下载 frp 源码: 1 2 git clone git@github.com:fatedier/frp.git cd frp Go 的交叉编译比 GCC、Clang 方便很多,只需要设置几个参数: …