PhaseScriptExecution Compile\ Kotlin\ Framework /U...
# multiplatform
b
PhaseScriptExecution Compile\ Kotlin\ Framework /Users/palankinagendrabharatkumar/fleet/NotesKMP/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-F36B1CEB2AD83DDC00CB74D5.sh (in target 'iosApp' from project 'iosApp') Does anyone has idea why my ios build fails and this is the error
p
Seems like you have a compilation error.
If you open the kt files in iosMain with AS, nothing is highlighted?
b
@Pablichjenkov no only a warning for one actual class 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573
p
Xcode doesn't give you more information? Are you deploying on a device or simulator?
b
simulator
p
Ok so you should not have any issue with provision profiles
b
Could not find "co.touchlab:stately-common" in [/Users/palankinagendrabharatkumar/fleet/NotesKMP, /Users/palankinagendrabharatkumar/.konan/klib, /Users/palankinagendrabharatkumar/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.21/klib/common, /Users/palankinagendrabharatkumar/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.21/klib/platform/ios_simulator_arm64]
xcode gives me this
p
Ah this is the error. apparently it doesn't find stately in kotlin 1.9.21. You can ask in #touchlab-tools.
What version of Xcode you have? I think I have seen a couple of issues with the latest Xcode
b
lastest one 15.2
@Pablichjenkov will downgrading kotlin and compose multiplatform version help
a
Had this issue recently. Just add stately-common to iosMain dependencies
👍 1
b
which one
Copy code
co.touchlab:stately-common:2.0.6
👌 1
a
r
@Bharat Kumar were you able to find solution?
b
@Raehat Singh Nanda yes i did