MustangYM / WeChatExtension-ForMac

A plugin for Mac WeChat
MIT License
22.34k stars 3.61k forks source link

m1登陆的时候会爆m_arrSession 错误 #1702

Closed pzp12 closed 2 years ago

pzp12 commented 2 years ago

issue规范

MustangYM commented 2 years ago

明显的api不匹配导致的版本错误,认真看release所匹配的版本

liubangde88 commented 2 years ago

因为版本不对,最新的版本里MMSessionMgr 取消了arrSession。 接口应该增加@property(retain, nonatomic) MMSessionStorage m_storage;
然后修改十几处 NSMutableArray
arrSession 为 NSMutableArray *arrSession = sessionMgr.m_storage.getAllSessionInfo; 然后重新编译后搞定

MustangYM commented 2 years ago

是的