iosios8tbxml

TBXML in an iOS 8 extension fails to build


In my iOS app I use TBXML for xml processing, it's not officially updated but it still working fine for me.

I'm trying to create a Today extension for iOS 8 and when I add TBXML as a Compile Source I get the following:

TBXML.h TBXML.h

Before adding the extension, I didn't have any build issue with TBXML.

Any ideas of how can I resolve this?

Thanks


Solution

  • Fixed by adding #import <Foundation/Foundation.h> at the beggining of TBXML.h.

    Seems that when working with extension, this file is not imported or is imported later