Use Regexkitlite in iOS to try out regular expressions using the ARC 20 error resolution

Source: Internet
Author: User

You can also disable the ARC for the Regexkitlite-only by adding a flag:

Select the project, YOUR Target, on the tab the "Build phases" and open the "Compile SourceS" and add F or "regexkitlite.m" The flag "-fno-objc-arc".

  I still don't understand, but success is OK ...  regexkitlite compile prompt error after downloading import project. Errors are as follows   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:   &NBSp;  _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.old:symbol (s) not Found for architecture I386collect2:ld returned 1 exit status workaround: In Project setting search ' other ' at the other Linker Flags Put the word "-licucore". Compile settings for other Linker flags to add "-licucore"   Reference address: http://www.iphonedevsdk.com/forum/ Iphone-sdk-development/8584-regexkitlite-wouldnt-compile.html

Use Regexkitlite in iOS to try out regular expressions using the ARC 20 error resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.