I need RegexKitlite in my App as a part of String validation. Have also added libicucore.A.dylib . Currently working with xcode 4.2,Base sdk iOS 5.0,Apple LLVM compiler 3.0,architechture armv7. Adding the regexkit folder to my app, causes too many errors like Automatic Reference Counting Errors , Cast of Objective-C pointer type 'NSString *' to C pointer type 'CFStringRef' etc
Please help;where have I gone wrong.
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 for "RegexKitLite.m" the flag "-fno-objc-arc".
Update: If you get:
Undefined symbols: "_uregex_reset", referenced from: _rkl_splitArray in RegexKitLite.o _rkl_replaceAll in RegexKitLite.o "_uregex_appendTail", referenced from:.......
Then you need to add in the Tab "Build Settings" -> "Linking" -> "Other Linker Flags" the "-licucore"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With