我需要修复与route-me链接的底层 iOS 框架中的错误,并且当我包含我得到的新代码时
ld: duplicate symbol _OBJC_METACLASS_$_RMProjection in frameworks/blah.framework/blah(RMProjection.o) and
有没有办法从 blah.framework 中删除符号并改用我编译的代码?我知道:strip -s <symbol file> -u <library>
但无法让它工作
还尝试了查找和替换
perl -n -p -e 's/RMProjection/XRMProjection/g' < frameworks/blah.framework/blah.bak > frameworks/blah.framework/blah
在链接的二进制文件中,导致此错误:
ld: in frameworks/blah.framework/blah, file is universal but does not contain a(n) i386 slice for architecture i386
谢谢