SPM creating objc package header not found

I am creating simple package that contains only objective-c m and h files. The package builds fine when it;s target selected. But when I import it to ios project cannot build the package. Here is my package structure:

And here is the Package.swift

// swift-tools-version:5.3

import PackageDescription

let package = Package(
    name: "FLEX",
    products: [
            name: "FLEX",
            targets: ["FLEX"]),
    targets: [
            name: "FLEX",
            cSettings: [

I think somehow headerSearchPath does not work for umbrella header?

Terms of Service

Privacy Policy

Cookie Policy