Re: Unknown name type for an imported class in Xcode 6.x iOS 8 project
Re: Unknown name type for an imported class in Xcode 6.x iOS 8 project
- Subject: Re: Unknown name type for an imported class in Xcode 6.x iOS 8 project
- From: Quincey Morris <email@hidden>
- Date: Wed, 06 May 2015 20:43:03 +0000
On May 6, 2015, at 13:12 , Alex Zavatone <email@hidden> wrote:
Simply moving the #import from the .h file into the .m file resolved this error and allowed the app to build.
Can anyone tell me why?
Because you had a circular reference between .h files that cause compilation of one of them to be short-circuited early. Putting one .h reference in the .m file avoids the circular reference, and allows both .h files to be compiled to their ends.
|
_______________________________________________
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