Re: What would cause Cocoa classes not to be recognized in a Cocoa Touch framework?
Re: What would cause Cocoa classes not to be recognized in a Cocoa Touch framework?
- Subject: Re: What would cause Cocoa classes not to be recognized in a Cocoa Touch framework?
- From: Gavin Stokes <email@hidden>
- Date: Wed, 11 Dec 2013 15:12:20 -0800
Thanks, Jacopo. Good insight: This does indeed seem to be a
precompiled header problem. I was doing a merge just now, and noticed
the PCH files were different. But the differences aren't just a
missing line; there's different boilerplate comment text too. Here's
the older PCH file:
// Prefix header for all source files of the 'FPSharing' target in
the 'FPSharing' project
//
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
And here's the newer one:
// Prefix header
//
// The contents of this file are implicitly included at the
beginning of every source file.
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
Note that the UIKit inclusion has disappeared, hence all those errors.
So the question is why this happened. I assume that the text changed
in some version of Xcode, so maybe this change introduced a bug that
eliminated UIKit when generating PCH files.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden