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

ClaudioVieira

03/16/2024, 3:31 PM
Hello everyone!! Have someone got this kind of error creating a new file on XCode? It says my file can’t access the shared module, but there are other files already accessing this module. Does someone guess what it would be?
h

Hamza

03/16/2024, 4:02 PM
Shared with capital s
c

ClaudioVieira

03/16/2024, 5:38 PM
@Hamza not sure if that’s the problem because I have this other class that is importing with lower case
👍 1
h

Hamza

03/16/2024, 6:07 PM
Does "CMD + B" to rebuild help (inside xcode)?
c

ClaudioVieira

03/16/2024, 6:17 PM
it builds, but fail every time… giving me the error
h

Hamza

03/16/2024, 6:44 PM
Interesting... When you've found the solution, let me know.
👍 1
r

Richie Rodríguez

03/17/2024, 11:26 AM
Just to make sure... have you checked that the new file has the correct targets assigned? It's a mistake I often fall into.
c

ClaudioVieira

03/27/2024, 4:24 PM
@Hamza @Richie Rodríguez Well, just updating this thread… I’m using Skie as Swift interop with Kotlin and the configuration-cache isn’t working with Skie properly. So, I had to change the
org.gradle.configuration-cache=false
on gradle.properties to allow running on IOS. I believe the Skie team is working to solve that problem!!
r

Richie Rodríguez

04/01/2024, 8:27 AM
Thanks for the update!
🙌 1
2 Views