当前位置:   article > 正文

报错处理(一)第三方shareSDK-MOB

报错处理(一)第三方shareSDK-MOB



这个问题是我换了另一台苹果电脑,然后重新弄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)


解决办法:


并不知道为什么好使,以前的工程并没有加这个字段也好使。。。。。



声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/283911
推荐阅读
相关标签
  

闽ICP备14008679号