Skip to content

Mixed project swift and objc #9

@mauron85

Description

@mauron85

Hi. Great plugin. However I have problem with my mixed project where I'am using switft and objc. Bridging header is generated fine by this plugin, but somehow "ProductModuleName-header" for objc is not. I'll get compilation error:

fatal error: 'CDVUniversalGeolocation-Swift.h' file not found

Taking excerpt from apple docs related to this:

Import the Swift code from that target into any Objective-C .m file within that target using this syntax and substituting the appropriate name:

import "ProductModuleName-Swift.h"

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