报错如下:

 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开发

RegexKitLite编译报错的更多相关文章

  1. [转] 解决RegexKitLite编译报错

    本文永久地址为http://www.cnblogs.com/ChenYilong/p/3984254.html ,转载请注明出处. 在编译RegexKitLite的时候,报错如下: Undefined ...

  2. 解决RegexKitLite编译报错

    原地址:http://blog.csdn.net/kepoon/article/details/7586861 在编译RegexKitLite的时候,报错如下: Undefined symbols f ...

  3. 使用C#模拟Outlook发送邮件,代码编译报错

    添加OutLook API using OutLook = Microsoft.Office.Interop.Outlook; 发送邮件方法 public void SendEmail() { Out ...

  4. cordova编译报错:Execution failed for task ':processDebugResources'

    cordova编译报错:Execution failed for task ':processDebugResources' 引发这个错误的最扩祸首就是一个中文命名的文件,不知道什么时候加入的,我写了 ...

  5. 编译报错dereferencing pointer to incomplete type

    关于编译报错“dereferencing pointer to incomplete type... 多是没找到结构体的定义,可以在本地复制其定义试试. 参考: http://my.oschina.n ...

  6. Maven-010-maven 编译报错:Failure to ... in ... was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced.

    今晚在编译 maven 项目的时候,命令行报错,出现 Failure to ... in ... 类似错误,详细的错误信息如下所示: [INFO] -------------------------- ...

  7. [Intellij] 编译报错 javacTask

    报错信息: Idea 编译报错 javacTask: 源发行版 1.6 需要目标发行版 1.6 解决方案:

  8. jenkis编译报错:需要class,interface或enum

    现象: 1.jenkis编译报错:需要class,interface或enum 2.使用ant进行编译ok. 解决方法: 1. Jenkis重新编译一个以前成功的svn版本,直至编译成功. 2.Jen ...

  9. 对arm指令集的疑惑,静态库运行,编译报错等问题

    转载自http://www.jianshu.com/p/4a70aa03a4ea?utm_campaign=hugo&utm_medium=reader_share&utm_conte ...

随机推荐

  1. java面向对象的三大特性——封装

    封装 封装从字面上来理解就是包装的意思,专业点就是信息隐藏,是指利用抽象数据类型将数据和基于数据的操作封装在一起,使其构成一个不可分割的独立实体,数据被保护在抽象数据类型的内部,尽可能地隐藏内部的细节 ...

  2. javascript 中的console.log有什么作用啊?

    相比alert他的优点是: 他能看到结构话的东西,如果是alert,淡出一个对象就是[object object],但是console能看到对象的内容. console不会打断你页面的操作,如果用al ...

  3. linux安全篇

    笔者Q:972581034 交流群:605799367.有任何疑问可与笔者或加群交流 1.限制用户su 限制能su到root的用户. 操作步骤 使用命令 vi /etc/pam.d/su修改配置文件, ...

  4. Python一些方法的用法集锦

    1.range()方法: >>>range(5) [0, 1, 2, 3, 4] >>>a= ["heke","sdsdjs" ...

  5. 【原创】POI 生成Excel文件并下载

    ι 版权声明:本文为博主原创文章,未经博主允许不得转载. 效果图: 实现 1.在pom中添加依赖: <!-- https://mvnrepository.com/artifact/org.apa ...

  6. PHPExcel生成或读取excel文件

    以下是详细代码示例: <?php /** * 以下是使用示例,对于以 //// 开头的行是不同的可选方式,请根据实际需要 * 打开对应行的注释. * 如果使用 Excel5 ,输出的内容应该是G ...

  7. 原生JS实现图片轮播

    <!doctype html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  8. BZOJ 3790: 神奇项链 [Manacher 贪心]

    3790: 神奇项链 Time Limit: 10 Sec  Memory Limit: 64 MBSubmit: 405  Solved: 200[Submit][Status][Discuss] ...

  9. 【模板小程序】求小于等于N范围内的质数

    //筛法求N以内的素数(普通法+优化),N>=2 #include <iostream> #include <cmath> #include <vector> ...

  10. 关于JavaScript的事件处理一些知识

    <JS事件处理> Event对象详细信息:http://www.w3school.com.cn/jsref/dom_obj_event.asp JS原生支持3中绑定事件方式: 1.以标签属 ...