iOSOpenDev打包dylib的时候,报这个错误:Undefined symbols for architecture armv7

ld: warning: directory not found for option ‘-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/PrivateFrameworks’
ld: warning: ignoring file /opt/iOSOpenDev/lib/libsubstrate.dylib, missing required architecture armv7 in file /opt/iOSOpenDev/lib/libsubstrate.dylib (2 slices)
Undefined symbols for architecture armv7:
“_MSHookMessageEx”, referenced from:
_logosLocalInit() in TJCaiWu.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

9102年,我们都用MonkeyDev

这个我知道,只是这个项目原来使用iOSOpenDev开发的,我只是维护一下,如果开发新项目的话,肯定首选MonkeyDev了。

那看来需要老版本的sdk。
或者下载个老版本xcode试试。
(我瞎猜)


羡慕你们都有项目