buginux / wechatredenvelop Goto Github PK
View Code? Open in Web Editor NEWiOS版微信抢红包Tweak
iOS版微信抢红包Tweak
RT,如果是的话,能加个开关吗?
微信版本: 6.3.13
机型版本: iPodTouch5 iOS7.1.2
在机子上编译的,编译成功安装成功,测试无效果
@buginux 求测试通过的微信版本
给你微信转了红包后才发现联系不到你,谢谢留个联系方式帮下忙撒。
我是这步出错了
sudo /opt/theos/bin/bootstrap.sh substrate
提示
sudo: /opt/theos/bin/bootstrap.sh: command not found
我确实找不到这个bootstrap.sh文件啊。。。这个步骤是必须的吗?
RT
Hi,想请问下,
如果是使用个人开发者证书,需要先将设备的 UUID 加到 Provisioning Profile 中
此处的个人开发者证书,是要缴纳一年99$的会员吗?还是说只注册不交钱的账号也可以呢?谢谢
In file included from :349:
In file included from :5:
/Users/a000/Downloads/WeChatRedEnvelop-master-2/theos/Prefix.pch:6:10: fatal error:
'_Prefix/NullabilityCompat.h' file not found
#import <Prefix/NullabilityCompat.h>
^
1 error generated.
make[3]: *** [/Users/a000/Downloads/WeChatRedEnvelop-master-2/.theos/obj/debug/armv7/Tweak.xm.61df67f4.o] Error 1
make[2]: *** [/Users/a000/Downloads/WeChatRedEnvelop-master-2/.theos/obj/debug/armv7/WeChatRedEnvelop.dylib] Error 2
make[1]: *** [internal-library-all] Error 2
make: *** [WeChatRedEnvelop.all.tweak.variables] Error 2
10 errors generated.
make[3]: *** [.theos/obj/armv7/Tweak.xm.b19f927a.o] Error 1
make[2]: *** [.theos/obj/armv7/WeChatRedEnvelop.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [WeChatRedEnvelop.all.tweak.variables] Error 2
新版本微信中打包IPA后,安装提示
This app contains a WatchKit app with an invalid bundle identifier. The bundle identifier of a WatchKit app must have a prefix consisting of the companion app's bundle identifier, followed by a '.'.
在重签名的软件中,貌似没有设置watchapp id的方式,有什么解决办法么?
新年快乐。
2016-02-02 15:12:08.531 xcodebuild[24849:3282346] [MT] PluginLoading: Required plug-in compatibility UUID F41BD31E-2683-44B8-AE7F-5F09E919790E for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KSImageNamed.xcplugin' not present in DVTPlugInCompatibilityUUIDs/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KSImageNamed.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Making all for tweak WeChatRedEnvelop...
Preprocessing Tweak.xm...
Compiling Tweak.xm...
2016-02-02 15:12:09.924 xcodebuild[24911:3282450] [MT] PluginLoading: Required plug-in compatibility UUID F41BD31E-2683-44B8-AE7F-5F09E919790E for plug-in at path '
Linking tweak WeChatRedEnvelop...
Stripping WeChatRedEnvelop...
Signing WeChatRedEnvelop...
Making stage for tweak WeChatRedEnvelop...
dm.pl: building package com.swiftyper.wechatredenvelop:iphoneos-arm' in
./com.swiftyper.wechatredenvelop_0.0.1-1_iphoneos-arm.deb'
install.exec "cat > /tmp/_theos_install.deb; dpkg -i /tmp/_theos_install.deb && rm /tmp/_theos_install.deb" < "./com.swiftyper.wechatredenvelop_0.0.1-1_iphoneos-arm.deb"
[email protected]'s password:
Selecting previously deselected package com.swiftyper.wechatredenvelop.
(Reading database ... 1149 files and directories currently installed.)
Unpacking com.swiftyper.wechatredenvelop (from /tmp/_theos_install.deb) ...
Setting up com.swiftyper.wechatredenvelop (0.0.1-1) ...
install.exec "killall -9 WeChat"
其中 kill WeChat 了 ,再次启动没有好用,抢不了红包 为什么?
比如某个群不想秒抢,甚至不准备点红包。
希望能有个开关能实现这个功能。
params[@"msgType"] = nativeUrlDict[@"msgtype"] ?: @"1";
params[@"sendId"] = nativeUrlDict[@"sendid"] ?: @"";
params[@"channelId"] = nativeUrlDict[@"channelid"] ?: @"1";
params[@"nickName"] = [selfContact getContactDisplayName] ?: @"小锅";
params[@"headImg"] = [selfContact m_nsHeadImgUrl] ?: @"";
params[@"nativeUrl"] = [[wrap m_oWCPayInfoItem] m_c2cNativeUrl] ?: @"";
params[@"sessionUserName"] = wrap.m_nsFromUsr ?: @"";
这些参数怎么知道的?有没有自动抢的金额的这个参数?
感谢作者能把代码分享出来。看你写的代码我学习了很多姿势。安装到自己的手机上也有效果。特此表示感谢。
有个公司面试就是让我做个抢红包的插件,可是之前没接触过,能不能请教一下?如果可以请加qq:358006453
设备: iPad mini 2
OS: 9.0.2
微信版本号:6.3.9
想具体问点技术方面的问题,有团队, 忘指导下
这是错误
Makefile:6: theos/makefiles/common.mk: No such file or directory
Makefile:12: /tweak.mk: No such file or directory
make: *** No rule to make target `/tweak.mk'. Stop.
然后输入
EXPORT THEOS=/opt/theos
这个实在terminal 输入吗?,。。
报错
-bash: EXPORT: command not found
iPhone 4s
iOS 9.0.2
we chat 6.3.13
测试不起作用
请更新,谢谢
我自己在练习编写Tweak的时候,用到了logify.pl用于方法的追踪,可是在编写makefile的时候,加上wxmsgcatch_CFLAGS = -fno-objc-arc这句,编译还是文件类型不符,看网上说要用mrc编译xm文件,请问您遇到过么,该怎么解决呢~~
Makefile:6: theos/makefiles/common.mk: No such file or directory Makefile:12: /tweak.mk: No such file or directory make: *** No rule to make target
/tweak.mk'. Stop.`
报这个错 怎么搞?
这个是用Xcode安装的时候出现的A WatchKit app within this app is not a valid bundle.
,我该怎么办呢
Makefile:6: theos/makefiles/common.mk: No such file or directory
Makefile:12: /tweak.mk: No such file or directory
make: *** No rule to make target `/tweak.mk'. Stop.
自己在群里发一个红包,会自动抢自己的红包,但是抢到红包的提示却在私聊里,不用插件手工抢是不会的
niehailideMacBook-Pro:~ niehaili$ ssh [email protected]
ssh: connect to host 10.26.162.117 port 22: Operation timed out
测试的版本是 WeChat 6.3.10 时间:2016年01月28日15:44:41
这个抢红包插件的原理是监控消息,
我想基于这个原理定制一个批量处理邀请入群动作的插件,不知大大是否有时间研究?
批量处理微信好友邀请入群链接
就3个功能
1.后台自动接受入群
2.后台设置保存通讯录
3.后台设置消息免打扰的插件
狗神的思路:
http://bbs.iosre.com/t/h5/3328
相关的实现?
http://bbs.iosre.com/t/topic/3353
我的企鹅号是987123
加我详细聊,验证答案随便打.
6.3.25版发送群红包后闪退
执行这个的时候提示 ssh: connect to host 192.168.0.111 port 22: Connection refused,这个我的手机改怎么设置,需要安装什么?希望大神给我解答下。
==> Error: /Applications/Xcode.app/Contents/Developer/usr/bin/make package requires dpkg-deb.
make: *** [internal-package-check] Error 1
@buginux 安装后还是出现问题:
Installing... [email protected]'s password: Selecting previously deselected package com.swiftyper.wechatredenvelop. (Reading database ... 6908 files and directories currently installed.) Unpacking com.swiftyper.wechatredenvelop (from /tmp/_theos_install.deb) ... Setting up com.swiftyper.wechatredenvelop (0.0.1-1) ... install.exec "killall -9 WeChat" [email protected]'s password: No matching processes were found make: *** [after-install] Error 1
看起来像是找不到微信的进程?
虽然在ipad的Cydia已经能够看到WeChatRedEnvelop了 但是微信无法自动抢红包。
型号:iPad air
系统:IOS 7.0.6
No rule to make target `package'. Stop. 这是什么问题呢
从 https://raw.githubusercontent.com/DHowett/dm.pl/master/dm.pl下载dm.pl,这步的时候 我进去 是代码 不是下载文件是我这边的问题吗 还有楼上说 超时那个 我也超时 是一个局域网
执行otool -L WeChatRedEnvelop.dylib
后显示依赖为
WeChatRedEnvelop.dylib (architecture armv7):
/Library/MobileSubstrate/DynamicLibraries/WeChatRedEnvelop.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 1349.13.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 1348.22.0)
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 3600.6.21)
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
WeChatRedEnvelop.dylib (architecture arm64):
/Library/MobileSubstrate/DynamicLibraries/WeChatRedEnvelop.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 1349.13.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 1348.22.0)
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 3600.6.21)
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
情况和 #35 是相同的。我也是把watch文件夹删掉了。
我推断是WeChatRedEnvelop.dylib的依赖为 /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate
而不是libsubstrate.dylib
而博客中提到的install_name_tool
工具是修改路径的, 不知道是否可以修改依赖的名称
此外iosre.com中NavilleZhang提到是同一个文件
因为刚入手这块,不清楚如何处理
看你发的步骤太麻了,能不能给我一份,我用自己证书签名
能防止微信抢红包功能被封么,很多人用的抢红包软件都被微信检测到了 然后就封抢红包功能7天什么的
Undefined symbols for architecture armv7:
"_MSHookMessageEx", referenced from:
logosLocalInit() in Tweak.xm.50b17ef7.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/opt/.theos/obj/debug/armv7/WeChatRedEnvelop.dylib] Error 1
make[2]: *** [/opt/.theos/obj/debug/armv7/WeChatRedEnvelop.dylib] Error 2
make[1]: *** [internal-library-all] Error 2
make: *** [WeChatRedEnvelop.all.tweak.variables] Error 2
hailizdeMacBook-Pro:opt hailiz$ use -v to see invocation)
bash: syntax error near unexpected token `)'
RT,关闭一段时间后就无法主动推送消息,因此也无法自动抢包。请问这个是和苹果的推送机制有关的么?这种自己制作证书的方式无法主动推送?还是我的安装过程有问题。
我是没越狱安装的。
谢谢!
这个需要一直打开微信么 版本号6.3.22
报错
/Users/Yiming/GitHub/optool/optool/FSArgumentParser/CoreParse/CoreParse/Parsers/CPShiftReduceParsers/CPItem.m:20:13: error:
synthesized property 'rule' must either be named the same as a compatible instance variable or
must explicitly name an instance variable
@synthesize rule;
^
/Users/Yiming/GitHub/optool/optool/FSArgumentParser/CoreParse/CoreParse/Parsers/CPShiftReduceParsers/CPItem.m:21:13: error:
synthesized property 'position' must either be named the same as a compatible instance
variable or must explicitly name an instance variable
@synthesize position;
这是文件里的代码
@interface CPItem ()
@Property (readwrite,retain) CPRule *rule;
@Property (readwrite,assign) NSUInteger position;
@implementation CPItem
@synthesize rule;
@synthesize position;
这个报错是什么意思说啊?
After I run the command, make package install, it shows me that.
Making all for tweak WeChatRedEnvelop...
Linking tweak WeChatRedEnvelop...
ld: warning: ignoring file ~/WeChatRedEnvelop/theos/lib/libsubstrate.dylib, missing required architecture armv7 in file ~/WeChatRedEnvelop/theos/lib/libsubstrate.dylib (2 slices)
Undefined symbols for architecture armv7:
"_MSHookMessageEx", referenced from:
logosLocalInit() in Tweak.xm.c9db2f61.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/WeChatRedEnvelop.dylib.ba964c90.unsigned] Error 1
make[1]: *** [internal-library-all] Error 2
make: *** [WeChatRedEnvelop.all.tweak.variables] Error 2
What do you think about this?
第一:make 出来的包没有看到libsubstrate.dylib 没有substrate 库
$ otool -L WeChatRedEnvelop.dylib
WeChatRedEnvelop.dylib (architecture armv7):
/Library/MobileSubstrate/DynamicLibraries/WeChatRedEnvelop.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 1349.13.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 1348.22.0)
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 3600.6.21)
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
WeChatRedEnvelop.dylib (architecture arm64):
/Library/MobileSubstrate/DynamicLibraries/WeChatRedEnvelop.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 1349.13.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 1348.22.0)
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 3600.6.21)
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
Makefile:6: theos/makefiles/common.mk: No such file or directory
Makefile:12: /tweak.mk: No such file or directory
make: *** No rule to make target `/tweak.mk'. Stop.
hi,how to fix it?
我删除了 watch 因为安装的时候报错 说 watchkit is not vaild 然后签名 安装 成功了 但是找不到那个插件啊
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.