I have a KMP App with Native UI for Android and Sw...
# multiplatform
l
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
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
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
UPDATE: After restarting Android Studio it found my macosApp, but still not my iOS app. I just want the iOS app to work...
a
Try maybe to tweak the run configuration in AS, the run button.
l
@Alexandru Caraus I fixed it by manually editing the Files under
.idea
-Folder
a
Cool, thats hackerman style 🐕