使用RegexLiteKit在mapview上绘制路径时出错

前端之家收集整理的这篇文章主要介绍了使用RegexLiteKit在mapview上绘制路径时出错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
在我的一个 iphone项目中,我使用 RegexLiteKit在mapview中绘制路径.在编译以下故障时,
Undefined symbols for architecture i386:
  "_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_setText",referenced from:
      _rkl_clearCacheSlotSetTo in RegexKitLite.o
      _rkl_setCacheSlotToString 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
  "_u_errorName",referenced from:
      _rkl_NSExceptionForRegex in RegexKitLite.o
      _rkl_userInfoDictionary in RegexKitLite.o
  "_u_strlen",referenced from:
      _rkl_userInfoDictionary in RegexKitLite.o
  "_uregex_reset",referenced from:
      _rkl_replaceAll in RegexKitLite.o
  "_uregex_appendReplacement",referenced from:
      _rkl_replaceAll in RegexKitLite.o
  "_uregex_appendTail",referenced from:
      _rkl_replaceAll in RegexKitLite.o
  "_uregex_open",referenced from:
      _rkl_getCachedRegex in RegexKitLite.o
  "_uregex_groupCount",referenced from:
      _rkl_getCachedRegex in RegexKitLite.o
  "_uregex_close",referenced from:
      _rkl_clearCacheSlotRegex in RegexKitLite.o

ld: symbol(s) not found for architecture i386
clang: error: linker command Failed with exit code 1 (use -v to see invocation)

有没有办法使RegexLiteKit工作?请帮忙..

解决方法

>转到目标构建设置
>搜索链接器标志
>在其他链接器标志附近双击并添加-licucore

DONE

原文链接:https://www.f2er.com/iOS/333796.html

猜你在找的iOS相关文章