Skip to content

"Bridging Header Setting Not Found in Project" #32

Description

@tjprescott

I am trying to use Bridgecraft to get the generated Swift interface for Objective-C and mixed source frameworks, because we have tooling that requires Swift source or swiftinterface format.

To that end, I created a very simple XCodeproj file for a framework that contains one simple Swift class and an .m/.h pair containing one simple Objective-C class.

I can build the project without issue in Xcode and with xcodebuild, but whenever I try and run Bridgecraft, it fails saying "bridging header setting not found in project". Running with --verbose doesn't yield any additional info. My understanding from https://developer.apple.com/documentation/swift/imported_c_and_objective-c_apis/importing_objective-c_into_swift is that bridging headers only apply to apps. Since this is a mixed-source framework, it should be using an umbrella header, which is automatically synthesized during the build.

I'm wondering what I am missing to make this work?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions