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

Praveen Kumar

10/05/2023, 6:24 AM
i get this error, 'sharedlinkPodReleaseFrameworkIosSimulatorArm64' from androidstudio. after update to xcode 15 i get this error.
m

Mikolaj

10/05/2023, 6:30 AM
try deleting pods folder and running
pod install
again. Worked for me in similar cases 😄
p

Praveen Kumar

10/05/2023, 6:33 AM
how to delete and reinstall pods?
m

Mikolaj

10/05/2023, 6:35 AM
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

Praveen Kumar

10/05/2023, 6:43 AM
okay. i try, is there any other way?
m

Mikolaj

10/05/2023, 6:44 AM
not that I know of 😕
p

Praveen Kumar

10/05/2023, 6:59 AM
okay. it doesn’t work. thank you for your answer😊
m

Mikolaj

10/05/2023, 7:07 AM
sorry to hear that. Maybe something related to xcode. Wish you luck
l

Landry Norris

10/05/2023, 8:57 AM
What does the error say? The value in the original message is just the task name.
p

Praveen Kumar

10/05/2023, 9:11 AM
i can’t build my project. i get this error, 'Command PhaseScriptExecution failed with a nonzero exit code'
l

Landry Norris

10/05/2023, 9:12 AM
That's a generic xcode error message. Can you paste the full output as a snippet?
p

Praveen Kumar

10/05/2023, 11:11 AM
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

Landry Norris

10/05/2023, 11:43 PM
Which Kotlin version are you using? Looks like an xcode toolchain change. That'll probably need a compiler update.
m

Marc

10/12/2023, 7:44 AM
I got the same error
using kotlin 1.8.21 (provided by the wizard)
l

Landry Norris

10/12/2023, 8:05 AM
I believe 1.9.10 had some changes to support xcode 15
m

Marc

10/12/2023, 8:38 AM
and everything else will still be compatible with kmm, if I'd upgrade to kt 1.9.10?
3 Views