• 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:

    _rkl_replaceAll in RegexKitLite.o

    "_uregex_appendReplacement", referenced from:

    _rkl_replaceAll in RegexKitLite.o

    "_uregex_appendTail", referenced from:

    _rkl_replaceAll in RegexKitLite.o

    "_uregex_close", referenced from:

    _rkl_clearCachedRegex in RegexKitLite.o

    "_u_errorName", referenced from:

    _rkl_userInfoDictionary in RegexKitLite.o

    _rkl_makeNSError in RegexKitLite.o

    _rkl_NSExceptionForRegex in RegexKitLite.o

    "_u_strlen", referenced from:

    _rkl_userInfoDictionary in RegexKitLite.o

    "_uregex_clone", referenced from:

    -[RKLBlockEnumerationHelper initWithRegex:options:string:range:error:] in RegexKitLite.o

    ld: symbol(s) not found for architecture i386

    collect2: ld returned 1 exit status

    在项目的编译设置中找到Other Linker Flags,然后在后面字段空白处双击,添加"-licucore”就可以了。

    或是添加"-ObjeC"。

    注意:横杆后面不能有空格,否则会报找不到路径的错误。

    iOS开发

  • 相关阅读:
    Scanner扫描器
    数据类型的转换
    万年历java
    冒泡排序、选择排序(升序排序,降序排序)
    数组
    字符串大小写转换(全转)(大小写互转)
    数据库两表联查、多表联查,多重联查
    js监测输入框字数(一个汉字等于两个字母),超出限制输入无效
    几条经验让jQuery用的更漂亮
    JS实现URL的拼接转换
  • 原文地址:https://www.cnblogs.com/jaenson/p/3637081.html
Copyright © 2020-2023  润新知