ParseKit.framework won't work, Foundation.h not found

Posted by Jeremy on Stack Overflow See other posts from Stack Overflow or by Jeremy
Published on 2012-09-30T03:33:44Z Indexed on 2012/09/30 3:37 UTC
Read the original article Hit count: 259

I'm really stumped trying to get the ParseKit.framework (this) to work in general, not even bothering to implement it till it runs the demo app that comes with it.

What happens is the compiler can't locate < Foundation/Foundation.h> or something, which I thought the header was in the linked framework. Exact error: "Lexical or Preprocessor Issue: 'Foundation/Foundation.h' file not found."

Here's the code, just from the ParseKit_Prefix.pch:

    //
    // Prefix header for all source files of the 'ParseKit' target in the 'ParseKit' project.
    //#ifdef __OBJC__
        #import <Foundation/Foundation.h>
    #endif

Nothing unusual about it, did I mess up the file paths some how? I've reinstalled Xcode, re-downloaded the ParseKit, and nothing is helping. The suggestions here did nothing and it's not this. When I make a new project or use a different project and load the Foundation.framework and #import the header it works just fine. If I unlink the framework I can't find it to re-link again. Has anyone else had this kind of problem? Did I download it wrong somewhere? I have a very difficult time finding where exactly the Xcode UI links stuff, apple must get a kick out of frustrating people, so if anyone has anything they can think of please give me some feedback, I'm horribly confused right now. Thanks,

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about xcode