Error: Cannot find interface declaration for NSObject in JSONAPIErrorResource.h (Xcode 7)
ilTofa opened this issue · comments
Giacomo Tufano commented
I got this error while using the library "as-is" (no CocoaPods) with Xcode 7. The error could be coming from the absence of .pch file in the project.
The error can be fixed by adding the declarations for NSObject to the offending header.
i.e.: adding
@import Foundation;
to JSONAPIErrorResource.h
Josh Holtz commented