Wondering if there is a way to prevent the baseNam...
# multiplatform
c
Wondering if there is a way to prevent the baseName of the xcFramework getting prefixed to all protocol names generated? For example in a project where
baseName
is set to
shared
all protocols generated are
Shared*
. In the case of
SharedKotlinx_coroutines_coreStateFlow
, I'd like to just retain as
Kotlinx_coroutines_coreStateFlow
p
Add an export statement for coroutines
c
That doesn't resolve the issue. Exporting coroutines and setting
transitiveExport
to true, removes
Kotlinx_coroutines_core
from the protocol name, but not the base name. So I'm left with
SharedStateFlow
It appears that the frameworks basename is prefixed to everything, including transitive exports
Worth noting that exporting coroutines as a transitive dependency is not what I want to achieve here. Rather I just want to avoid the renaming that's happening to those classes when their respective protocols are being generated