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

Yaniv Sosnovsky

01/28/2021, 11:22 AM
Hi guys. I’m trying to use ‘TrueTime’ pod in KMM and gradle sync keeps failing with the following error:
Task corecinteropTrueTimeIos
Exception in thread “main” java.lang.Error: /Users/yanivsos/Documents/Projects/Texel/old-co-view-sdk/core/build/cocoapods/synthetic/IOS/core/build/Release-iphonesimulator/TrueTime/TrueTime.framework/Headers/TrueTime.h91: error: use of ‘@import’ when modules are disabled Any idea on how to fix it?
a

Artyom Degtyarev [JB]

01/28/2021, 11:30 AM
This seems like a known limitation of the cinterop tool described here: https://youtrack.jetbrains.com/issue/KT-39120
y

Yaniv Sosnovsky

01/28/2021, 11:32 AM
Oh snap. Thanks!
k

Kris Wong

01/28/2021, 2:02 PM
plz vote for the issue 🙂
y

Yaniv Sosnovsky

01/28/2021, 2:03 PM
voted!
🍻 1
thanks
5 Views