Comments (2)
在App Store中安装xcode,安装完成后打开xcode,同意协议后即可关闭 拉取WeChatTweak-CLI
git clone https://github.com/sunnyyoung/WeChatTweak-CLI.git
修改/WeChatTweak-CLI/Sources/WeChatTweak-CLI/main.swift
中第12行代码为static let url = URL(string: "https://github.com/sunnyyoung/WeChatTweak-macOS/releases/download/1.4.1/WeChatTweak.framework.zip")!
返回项目根目录(即是Sources文件夹的上层目录)执行swift build -c release --arch arm64 --arch x86_64
cd .build/apple/Products/Release/
chmod +X wechattweak-cli
sudo ./wechattweak-cli install
执行swift build -c release --arch arm64 --arch x86_64
会报以下错误
error: xcbuild executable at '/Library/Developer/SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild' does not exist or is not executable
用xcode直接编译就好了
默认编译目录在这里
~/Library/Developer/Xcode/DerivedData/WeChatTweak-CLI-bmkjffeuyonhxvfwijyevbvoitif/Build/Products/Debug
啥球都不懂,反正我在这里找到它了,并且能用了,希望能帮上点忙吧
from wechattweak-macos.
在App Store中安装xcode,安装完成后打开xcode,同意协议后即可关闭 拉取WeChatTweak-CLI
git clone https://github.com/sunnyyoung/WeChatTweak-CLI.git
修改/WeChatTweak-CLI/Sources/WeChatTweak-CLI/main.swift
中第12行代码为static let url = URL(string: "https://github.com/sunnyyoung/WeChatTweak-macOS/releases/download/1.4.1/WeChatTweak.framework.zip")!
返回项目根目录(即是Sources文件夹的上层目录)执行swift build -c release --arch arm64 --arch x86_64
cd .build/apple/Products/Release/
chmod +X wechattweak-cli
sudo ./wechattweak-cli install
执行
swift build -c release --arch arm64 --arch x86_64
会报以下错误error: xcbuild executable at '/Library/Developer/SharedFrameworks/XCBuild.framework/Versions/A/Support/xcbuild' does not exist or is not executable
用xcode直接编译就好了 默认编译目录在这里~/Library/Developer/Xcode/DerivedData/WeChatTweak-CLI-bmkjffeuyonhxvfwijyevbvoitif/Build/Products/Debug
啥球都不懂,反正我在这里找到它了,并且能用了,希望能帮上点忙吧
可以解决目录问题,以及No such module "PackageDescription"问题
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
from wechattweak-macos.
Related Issues (20)
- OS sonoma 14.2.1
- 请问支持MacOS11吗 HOT 1
- 你好,想问一下语音防撤回不能播放是什么问题呢
- 按操作进行,“微信”想要访问其他app数据窗口无限弹出 HOT 4
- 这个安装报错,看不懂 HOT 2
- 升级14.5系统之后微信崩溃 HOT 11
- 可以加一个点击表情放大的功能吗
- 關於 1.5.0 報錯包括不限於閃退等可選擇升級MacOS or 降級至 1.4.1
- 關於 1.5.0 報錯包括不限於閃退等可選擇升級MacOS or 降級至 1.4.1 HOT 4
- 安装之后,登陆微信、使用微信特别卡顿,无法正常使用 HOT 15
- 报错啦Error: Download failed on Cask 'wechattweak-cli' with message: No such file or directory @ dir_s_rmdir -
- 更新到3.8.8.17版本后失效了 HOT 31
- 不能装 HOT 1
- 更新3.8.8之后需要使用需在“隐私与安全性”中“完全磁盘访问权限”中添加微信 HOT 3
- 安装失败 HOT 1
- 右键 Dock icon 登录新的微信账号失效 HOT 1
- 虽然能浏览器打开链接但还是被腾讯110拦截
- 能否获得当前聊天的链接?
- 这个错误应该怎么处理 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechattweak-macos.