I have a KMP App with Native UI for Android and SwiftUI for iOS. I had Cocoapods for iOS and Android Studio detected it correctly back then. Now I remove Cocoapods again to migrate to Swift Export. Everything works perfectly, but Android Studio isn't detecting the XCode Project again so I can't run it via Android Studio, only XCode. How can I link the XCode Project back again to Android Studio?
h
Hasan Tunçay
12/17/2025, 8:56 AM
https://kotlinlang.org/docs/multiplatform/multiplatform-direct-integration.html#connect-the-framework-to-your-project
check your xcode confugiration step by step especially if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
exit 0
fi
cd "<Path to the root of the multiplatform project>"
./gradlew :<Shared module name>:embedAndSignAppleFrameworkForXcode
this one
l
Leon Zapke
12/17/2025, 8:59 AM
That's working, but I'm talking about the Run Configuration. My iOS app is not showing up in Android Studio and I even can't create one
Leon Zapke
12/17/2025, 9:06 AM
UPDATE:
After restarting Android Studio it found my macosApp, but still not my iOS app. I just want the iOS app to work...
a
Alexandru Caraus
12/17/2025, 2:48 PM
Try maybe to tweak the run configuration in AS, the run button.
l
Leon Zapke
12/18/2025, 7:33 AM
@Alexandru Caraus I fixed it by manually editing the Files under