Hello, I'm building an xcFramework from my kotlin module with the cocoapods plugin, like so: ``` ...
g
Hello, I'm building an xcFramework from my kotlin module with the cocoapods plugin, like so:
Copy code
cocoapods {
        version = "1.0.0"
        summary = "Core logic package for ZenBreak"
        homepage = "<https://github.com/Giuliopime/ZenBreak>"
        framework {
            baseName = "SharedCore"
            isStatic = true
        }
        noPodspec()
    }
One issue I see is that I specified
noPodspec()
but I still get a
shared_core.podspec
file under
shared-core/build/cocoapods/publish/release/
, is this normal? Also, when I import the module in XCode I get
No such module
, but it seems like a false positive because the project builds and runs fine on macOS. I built the framework with
./gradlew shared-core:podPublishXCFramework
, and added the framework in the XCode frameworks section. Am I missing something?
Seems like there is a capitalization issue, I switched the baseName to "sharedCore" and that works fine