Hello, Is there any way to generate the framework for for Debug variant I mean I always have to use ...
r
Hello, Is there any way to generate the framework for for Debug variant I mean I always have to use
./gradlew build
which buids all variant I tried
./gradlew buildDebug
but it does not generate framework for me
m
Keen to hear about this, I’m also running
./gradlew build
but facing the same issues as you. Working for now though on a small project
Please do report back if you find somethign for this šŸ‘
r
@Paul Woitaschek @Big Chungus any ideas here?
b
None, Sorry, not an expert on apple shit
šŸ˜‚ 1
Maybe run
./gradlew tasks
and see if any of them refer to debug framework
p
I never use build, that's a: build the universe https://kotlinlang.org/docs/multiplatform-build-native-binaries.html#build-xcframeworks This covers the task names you are looking for
r
Oh okay, currently there is no xcframework added in my current config
d
@Big Chungus To be fair, this isn't Apple sh*t. It's gradle/KMM sh*t. šŸ˜‰
b
That's what I meant. Thought KMM bit is implied clear enough from the context. So to be clear this is KMP/Apple side shit (as opposed to KMP/JVM or KMP/JS)
i.e. you need to know at least some of the apple ecosystem to configure it (frameworks, cocoa (?), targets...)
p
Let's stop using the word shit and be polite
šŸ‘ 1
And don't randomly ping people šŸ˜‰
šŸ˜… 1
b
Oh, that was the issue. Sure. I personally, don't think much of it, but I guess people can be uptight.
p
That docs cover the setup. And here is a starter project that handles the boilerplate setup: https://github.com/touchlab/KaMPKit
šŸ‘ 1
r
Hmm will read about this
KampKit does not use
XCFramework
in their setup 😐
Anyway I followed the doc link you mentioned. But I am only able to get
assembleXCFramework
not debug and release variant