pampanet
09/22/2021, 1:02 PM# I made a Swift 5.0 file
xcrun intentbuilderc generate -input $PWD/intents.intentdefinition -output $PWD -classPrefix "" -language Swift -swiftVersion 5.0
# I made Objective-C headers and implementations just in case
xcrun intentbuilderc generate -input $PWD/intents.intentdefinition -output $PWD/Intents -classPrefix "" -language Objective-C
now I would like to use the generated code in a kotlin MPP library. Is there a way? I got stuck with the cinterops
configuration.
TL;DR: how can I configure a ios
targets to use objective-c code or Swift (with @objc
) annotations in gradle?