Search code examples
iosddmathparser

DDMathParser & iOS7/XCode Compatibility


I added DDMathParser as a submodule in my Git repository, and after running it, the code only seems to work with OS X. Right away it gives me the following error in DemoController.h, etc.:

'Cocoa/Cocoa.h' file not found

Can DDMathParser work with a mobile device using iOS7? If so, it isn't clear to me how to accomplish this. My google search online suggests that Cocoa is not possible with iOS. I was able to get it working with Mac OS X - how can I do the same for iOS with my app?


Solution

  • DDMathParser author here. You've copied over more than you need. As the name implies, DemoController is part of a demo showing how the parser works. You shouldn't be including it in your app.