sorry, another slight tangent - upgrading from MVI...
# mvikotlin
t
sorry, another slight tangent - upgrading from MVIKotlin 3.0.2 to 3.1.0 (or 3.2.1), XCode reports a build failure (
Command PhaseScriptExecution failed with a nonzero exit code
) but there's no output anywhere to indicate what the issue might be. I feel like, even in this case, I used to at least get some output. Has anyone had luck getting the underlying build output?
ah, I found it: click the top-right icon (report navigator) then "build" to get the live debug output. I thought I'd checked this and only received the same generic error but now I've got something
Copy code
e: Could not find "org.jetbrains.kotlin.native.platform.CoreFoundationBase"
looks like it could be a Kotlin version mismatch issue
a
Never seen that error before. Looks like this? https://youtrack.jetbrains.com/issue/KTOR-5842
t
my builds through Android Studio seem to be using Kotlin 1.8.20 but I'm not sure if that's also true here
yeah, I was about to mention that case
I also see my builds through iOS are apparently building with a JDK v11 though I've set everything to build with Java 17 on the Android side. Maybe I missed where the JDK is set on iOS
a
Perhaps, Xcode uses the default JDK installed in the system
t
yeah, the app builds runs fine in Android with MVIKotlin 3.2.1
that seems to be the case. I'll be sure to upgrade that. It might not be the exact issue here but it wouldn't hurt to upgrade that anyhow
sorry for the noise and thanks for your help!
a
No worries, feel free to ask!