i get this error, ':shared:linkPodReleaseFramework...
# multiplatform
p
i get this error, 'sharedlinkPodReleaseFrameworkIosSimulatorArm64' from androidstudio. after update to xcode 15 i get this error.
m
try deleting pods folder and running
pod install
again. Worked for me in similar cases 😄
p
how to delete and reinstall pods?
m
in your
iosApp
directory you should have a directory named
Pods
. just delete it. then in your console go to
iosApp
directory
ex. cd /my/path/iosApp
and run
pod install
. This should recreate the
Pods
directory
p
okay. i try, is there any other way?
m
not that I know of 😕
p
okay. it doesn’t work. thank you for your answer😊
m
sorry to hear that. Maybe something related to xcode. Wish you luck ✨
l
What does the error say? The value in the original message is just the task name.
p
i can’t build my project. i get this error, 'Command PhaseScriptExecution failed with a nonzero exit code'
l
That's a generic xcode error message. Can you paste the full output as a snippet?
p
Task sharedlinkDebugFrameworkIosArm64 FAILED
e: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1. output: -iphoneos_version_min has been renamed to -ios_version_min ld: unknown options: -sdk_version
l
Which Kotlin version are you using? Looks like an xcode toolchain change. That'll probably need a compiler update.
m
I got the same error
using kotlin 1.8.21 (provided by the wizard)
l
I believe 1.9.10 had some changes to support xcode 15
m
and everything else will still be compatible with kmm, if I'd upgrade to kt 1.9.10?