sunnyyoung / WeChatTweak-macOS

A dynamic library tweak for WeChat macOS - 首款微信 macOS 客户端撤回拦截与多开 🔨
https://tweaks.app
Apache License 2.0
11.21k stars 1.38k forks source link

make debug无法开启GCDWebServer #156

Closed yuanfeiz closed 5 years ago

yuanfeiz commented 5 years ago

复现:

  1. sudo make install
  2. 改代码
  3. Xcode 编译
  4. sudo make debug
  5. 首先是上边有很多 warning:
    Class _AFURLSessionTaskSwizzling is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10da530d0) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x10cf32550). One of the two will be used. Which one is undefined.
  6. 其次是会话数据加载不出来,历史会话是空的
  7. 最后 alfred 连不上微信,connection refuse

直接sudo make install是OK的。

期望: make debug能动态注入 build 好的代码

牛逼的项目,谢谢!

sunnyyoung commented 5 years ago

你是不是安装了别的同类插件

yuanfeiz commented 5 years ago

sunnyyoung commented 5 years ago

uninstall 之后再 make debug