• 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: App refuses to find Framework's Objective-C Generated Header: whats wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App refuses to find Framework's Objective-C Generated Header: whats wrong?


  • Subject: Re: App refuses to find Framework's Objective-C Generated Header: whats wrong?
  • From: David Hoerl <email@hidden>
  • Date: Fri, 14 Oct 2016 13:08:32 -0400

Looking back at your original post, I see I thought your were getting an error from the @import, so you replaced that with an #import. You actually said you did both.
I probably could take the @import MyFramework out - I keep hoping Xcode
will wakeup and do the right thing...
In that case, the question is: are you declaring all of the classes and methods that are used across the framework boundary as “public” or “open”? Omitting the access specifiers would produce exactly the behavior you describe, since the default access is “internal”.
They are all public and @objc - without that they don't make it into the
bridging header.
A co-worker who is writing a Swift 3 only app was able to import the
framework into his app and access the classes without any trouble at all.
_______________________________________________
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: 
 >App refuses to find Framework's Objective-C Generated Header: whats wrong? (From: David Hoerl <email@hidden>)
 >Re: App refuses to find Framework's Objective-C Generated Header: whats wrong? (From: Quincey Morris <email@hidden>)
 >Re: App refuses to find Framework's Objective-C Generated Header: whats wrong? (From: David Hoerl <email@hidden>)
 >Re: App refuses to find Framework's Objective-C Generated Header: whats wrong? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: App refuses to find Framework's Objective-C Generated Header: whats wrong?
  • Next by Date: Re: App refuses to find Framework's Objective-C Generated Header: whats wrong?
  • Previous by thread: Re: App refuses to find Framework's Objective-C Generated Header: whats wrong?
  • Next by thread: Global Find > References with C++
  • Index(es):
    • Date
    • Thread