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
Paul Woitaschek
01/17/2023, 6:13 AM
Add an export statement for coroutines
c
Ciaran Sloan
01/17/2023, 7:03 AM
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
Ciaran Sloan
01/17/2023, 7:04 AM
It appears that the frameworks basename is prefixed to everything, including transitive exports
Ciaran Sloan
01/17/2023, 7:15 AM
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