Question

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?

Was it helpful?

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.

OTHER TIPS

It definitely works with iOS 7. I copied it into my Xcode project folder and it parses like a champ. Can you try that first, then work on Git?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top