Avoid confusion in 10.7 SDK headers in at least Xcode45-DP3
When building with MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7, <CoreData/NSFetchRequest.h> does #define NSPersistentStoreRequest NSObject (i.e. as a dummy) and does not import <CoreData/NSPersistentStoreRequest.h>. But <CoreData/NSIncrementalStore.h> doesn't do anything similar, it imports <CoreData/NSPersistentStoreRequest.h> unconditionally. So if <CoreData/NSFetchRequest.h> has already been included by then, it will end up quite confusing. Change-Id: I9de6885ea444a73bf5fd50aa6a3d132b9fcc2f31
Showing
Please
register
or
sign in
to comment