Hey all, it's been a few months since I setup a KM...
# multiplatform
p
Hey all, it's been a few months since I setup a KMM project for testing, we are getting closer to project start time so I decided to set it up again just to refresh my memory and to potentially update the libs etc. I added the sqldelight and the kotlinx-serialization-core, I get this error in sync:
Copy code
Could not resolve org.jetbrains.kotlinx:kotlinx-serialization-core:1.2.2
if I build it works for Android, but it doesn't work on iOS. I get this error:
Copy code
The following build commands failed:
	PhaseScriptExecution [CP-User]\ Build\ shared ... (in target 'shared' from project 'Pods')
I am using CocooaPods if that are in interests here, I am a bit confused and not sure were I should look now, any ideas?
a
Hello! About
PhaseScriptExecution
. In general, additional details should be available from AS. If they are not, consider opening the project from Xcode to get more output. See this stackoverflow question, I assume that it describes similar problem.
👍 1
p
Will look into that thanks
The issue is, maybe I failed in explaining, before I added the serialization it worked great, no issues. I am running java 11 etc... think I will go bald based on this issue 😂
a
Sorry, I misunderstood the situation a little. I got an idea about possible causes of this problem: serialization 1.2.2 don't have an artifact built for iosSimulattorArm64. This target were supported in 1.3.0 and later.
p
@Artyom Degtyarev [JB] Ah, this put me a few steps forward! Got new errors but I will work on those! Thanks! Beers are on me if you come go Bangkok 🙂