Skip to content

<module>-Swift.h: fatal error: module '<module>' not found #1448

@vakhidbetrakhmadov

Description

@vakhidbetrakhmadov

Hello,

I am trying to compile a mixed_language_library target that depends on a swift_library target that exports Objective-C APIs.

I am getting the following error: <module>-Swift.h: fatal error: module '<module>' not found.

I have created a minimal repro example: mixed-language-cannot-find-module-repro.

To observe the error run: bazelisk build -s --sandbox_debug --platforms=@build_bazel_apple_support//platforms:ios_sim_arm64 //examples/apple/mixed_language_cannot_find_module_repro:Consumer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions