Tweak make package failed: libfakeroot.dylib: mach-o, but wrong architecture

285 Views Asked by At

I was trying to make my first tweak for ios using Theos. And I just used a default tweak template(nic.pl), didnt change anything, I got this error when I tried to run make package:

dyld: could not load inserted library '/usr/local/Cellar/fakeroot/1.22/lib/libfakeroot.dylib' because no suitable image found.  Did find:
    /usr/local/Cellar/fakeroot/1.22/lib/libfakeroot.dylib: mach-o, but wrong architecture
    /usr/local/Cellar/fakeroot/1.22/lib/libfakeroot-0.dylib: mach-o, but wrong architecture

/usr/local/bin/fakeroot: line 181:  3701 Abort trap: 6           FAKEROOTKEY=$FAKEROOTKEY DYLD_INSERT_LIBRARIES="$LIB" "$@"
make: *** [internal-package] Error 134

More Information:

Env: Darwin MacBook pro 16.7.0 Darwin Kernel Version 16.7.0

IOS sdk: I am using the newest version of SDK(iosdk11) & Xcode(9.0), I also tried different SDK, but no luck, I assume the problem here is fake root did not generate compatible binary.

Fakeroot: I just did brew install fakeroot to install.

libfakeroot info: /usr/local/Cellar/fakeroot/1.22/lib/libfakeroot.dylib: Mach-O 64-bit dynamically linked shared library x86_64.

0

There are 0 best solutions below