• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unknown name type for an imported class in Xcode 6.x iOS 8 project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Unknown name type for an imported class in Xcode 6.x iOS 8 project (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Unknown name type for an imported class in Xcode 6.x iOS 8 project
  • Next by Date: OpenMP Support in Xcode soon?
  • Previous by thread: Re: Unknown name type for an imported class in Xcode 6.x iOS 8 project
  • Next by thread: OpenMP Support in Xcode soon?
  • Index(es):
    • Date
    • Thread