Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
NSRegularExpression and OSX 10.6 #171
Just tried updating to the latest 2.x release and received several compiler errors in GBTokenizer.m about NSRegularExpression. I'm running OSX 10.6 and the latest stable version of Xcode (4.2), but NSRegularExpression is only available in the Foundation.framework on OSX 10.7. However, the requirements for appledoc don't state OSX 10.7 is required for compiling.
appledoc/Parsing/GBTokenizer.m:320:2: error: use of undeclared identifier 'NSRegularExpression' 
Is there an alternative solution for compiling on OSX 10.6? I notice versions prior to 2.0 were using RegexLiteKit instead...
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Appledoc was using RegexKitLite until recently with a user contribution that added better HeaderDoc support. In this particular patch, NSRegularExpression was used. I decided to leave if as my plan is to update regular expressions, I find 10.7 classes more reliable generally. Unfortunately this makes it 10.7 only... You should be able to comment out the code in question. I made it opt in/out with cmd line switch anyway, so as long as you compile and don't use the switch, it'll work just fine,