需求: tweak 编译问题,求助
**代码: 只用nic.pl新建了一个默认tweak, 什么都没改
操作步骤: 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
** 环境: Darwin MacBook pro 16.7.0 Darwin Kernel Version 16.7.0, 应该不是ios sdk的问题,因为我也尝试过用各种版本sdk。fakeroot 直接brew install fakeroot 装的,根据报错信息说arch 不兼容, 相关信息如下:
/usr/local/Cellar/fakeroot/1.22/lib/libfakeroot.dylib: Mach-O 64-bit dynamically linked shared library x86_64
希望有类似问题或者解决过这个问题的朋友帮帮忙, 谢谢!