腾讯微博SDK导入后RegexKitLite编译提示错误。错误如下
Undefined symbols for architecture i386:
"_uregex_open", referenced from:
_rkl_getCachedRegex in RegexKitLite.o
"_uregex_groupCount", referenced from:
_rkl_getCachedRegex in RegexKitLite.o
"_uregex_setText", referenced from:
_rkl_setCachedRegexToString in RegexKitLite.o
_rkl_clearCachedRegexSetTo in RegexKitLite.o
-[RKLBlockEnumerationHelper initWithRegex:options:string:range:error:] in RegexKitLite.o
"_uregex_start", referenced from:
_rkl_performRegexOp in RegexKitLite.o
_rkl_search in RegexKitLite.o
_rkl_findRanges in RegexKitLite.o
"_uregex_end", referenced from:
_rkl_performRegexOp in RegexKitLite.o
_rkl_search in RegexKitLite.o
_rkl_findRanges in RegexKitLite.o
"_uregex_find", referenced from:
_rkl_search in RegexKitLite.o
"_uregex_findNext", referenced from:
_rkl_search in RegexKitLite.o
_rkl_replaceAll in RegexKitLite.o
"_uregex_reset", referenced from:
等等。。。。。。。
解决办法:
国外坛子给出了解决办法:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/8584-regexkitlite-wouldnt-compile.html
In project setting search "other" at Other Linker Flags put the word "-licucore".
编译设置的Other Linker Flags中添加“-licucore”