注入dylib安装后程序crash,报下面的错,求大神指导
Dyld Error Message:
Library not loaded: @executable_path/libggsfree.dylib
Referenced from: /private/var/mobile/Containers/Bundle/Application/2FDD9124-0251-4D59-B2D4-4C84D2191E5C/xxx.app/xxx
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/2FDD9124-0251-4D59-B2D4-4C84D2191E5C/xxx.app/libggsfree.dylib: no matching architecture in universal wrapper
/private/var/mobile/Containers/Bundle/Application/2FDD9124-0251-4D59-B2D4-4C84D2191E5C/xxx.app/libggsfree.dylib: no matching architecture in universal wrapper
Dyld Version: 353.12
人家告诉你了缺架构。
我用iosOpenDev写的Library,使用的CaptainHook,编译签名后就注入了,dylib中还有啊导入什么吗
架构 armv7 armv7s arm64 貌似是说的这个
我valid Architectures 只设置了一个arm64 ,机器是5s
跟机器无关,要看app运行的是哪个slice
所以一般三个arch都编译
恩,我 armv7 armv7s arm64 都设置试了也报同样的错,怎么看这个app运行的哪个slice呢,这不是我自己的app
文件发上来看看
ggsfree.zip (43.7 KB)
我的二进制文件打印出来框架出来是
excutableFileName (architecture armv7):
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
0xfeedface 12 9 0x00 2 55 5588 0x00218085
excutableFileName(architecture arm64):
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
0xfeedfacf 16777228 0 0x00 2 55 6200 0x00218085