赞
踩
这个问题是我换了另一台苹果电脑,然后重新弄SVN,重新check项目后出现的。
Xcode 编译报错如下:
Undefined symbols for architecture x86_64:
"_uregex_reset", referenced from:
_rkl_replaceAll in MOBFoundation(ZTCRegexKitLite.o)
"_u_errorName", referenced from:
_rkl_NSExceptionForRegex in MOBFoundation(ZTCRegexKitLite.o)
_rkl_userInfoDictionary in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_close", referenced from:
_rkl_clearCachedRegex in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_findNext", referenced from:
_rkl_search in MOBFoundation(ZTCRegexKitLite.o)
_rkl_replaceAll in MOBFoundation(ZTCRegexKitLite.o)
"_u_strlen", referenced from:
_rkl_userInfoDictionary in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_appendReplacement", referenced from:
_rkl_replaceAll in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_clone", referenced from:
-[MOBFRKLBlockEnumerationHelper initWithRegex:options:string:range:error:] in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_end", referenced from:
_rkl_performRegexOp in MOBFoundation(ZTCRegexKitLite.o)
_rkl_search in MOBFoundation(ZTCRegexKitLite.o)
_rkl_findRanges in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_open", referenced from:
_rkl_getCachedRegex in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_find", referenced from:
_rkl_search in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_appendTail", referenced from:
_rkl_replaceAll in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_groupCount", referenced from:
_rkl_getCachedRegex in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_start", referenced from:
_rkl_performRegexOp in MOBFoundation(ZTCRegexKitLite.o)
_rkl_search in MOBFoundation(ZTCRegexKitLite.o)
_rkl_findRanges in MOBFoundation(ZTCRegexKitLite.o)
"_uregex_setText", referenced from:
-[MOBFRKLBlockEnumerationHelper initWithRegex:options:string:range:error:] in MOBFoundation(ZTCRegexKitLite.o)
_rkl_performRegexOp in MOBFoundation(ZTCRegexKitLite.o)
_rkl_clearCachedRegexSetTo in MOBFoundation(ZTCRegexKitLite.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决办法:
并不知道为什么好使,以前的工程并没有加这个字段也好使。。。。。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。