https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

mbonnin

07/15/2022, 3:12 PM
What's the status on HMPP and using things like
okio.Filesystem.SYSTEM
from
commonMain
when I only have JVM and macOS targets?
It builds the binaries just fine but the IDE support fails as well as
compileCommonMainKotlinMetadata
(context:
FileSystem.SYSTEM
is defined by okio in all native and jvm targets but not JS so I'd expect it to work but maybe it can't?)
j

jw

07/15/2022, 3:29 PM
It will not work until Okio has a jvm+native source set that defines an
expect val
for it.
m

mbonnin

07/15/2022, 4:50 PM
I see... So there's no "global commonizer" that could infer the
expect
definitions automagically accross non-native tagets?
👌 1
a

Adam Brown

07/15/2022, 8:27 PM
some what related, but is there a target for the iOS Simulator? I was having some problems w\
SYSTEM
on it, but haven't had time to look into it just yet
m

mbonnin

07/15/2022, 10:11 PM
@Adam Brown you can find all targets there. iOS simulator should be there
a

Adam Brown

07/15/2022, 10:11 PM
thanks, huh will have to figure out what my issue is
6 Views