android – Xcode 15.2 Linker command failed with exit code 1 for the Kotlin Multiplatform project


I’m trying to build a Kotlin multiplatform application. In Android Studio, I created a Kotlin multiplatform library and published it to a local Maven repository to use it in Android. For iOS, I created a Swift package and uploaded the package to a github repository. Then, in the iOS app, I added it as a package dependency. Everything worked fine until I updated Xcode to version 15.2. After the update, when I run the project, it shows the error “unidentified symbols” and “linker command failed with exit code 1”. I tried running the project on Xcode version 15.1, and the project ran successfully. The issue is with version 15.2.

I had tried to clean and rebuild the project, delete derived data, and clean the simulator; Xcode was uninstalled and reinstalled. I created a new Swift package from the Kotlin Multiplatform Library project and tried adding it as a package dependency by putting it in another github repository. I tried changing project settings.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img