合并dylib
lipo -create <file1> <file2> -output <file3>
分离Mach-O文件
lipo -thin <armv7 | armv7s | arm64> <file> -output <file>
改变dylib路径(Tweak需要)
install_name_tool -change xx.dylib @executable_path/xx.dylib
install_name_tool -change ./MMPlugin.dylib @executable_path/MMPlugin.dylib
网友评论