You can't use bridging headers within a framework.
Xcode will automatically create umbrella header for you Cocoa Framework project. That will be the file named <FrameworkName>.h
in the <FrameworkName>
group/folder (where the rest of your sources are).
- To include the required Obj-C header you need to set it as
Public
: select it in the project explorer (left pane) and change the propertyTarget Membership
(left—Inspectors—pane) fromProject
toPublic
. - Open umbrella header (
<FrameworkName>.h
) and import the required header as: