I am facing one problem here, if someone can help here:
1. I created on kotlin multiplatform project(No shared ui) just for learning purpose. Created XCFramework folder using the command
./gradlew assembleXCFramework
.
2. Now I opened iOS project present inside this KMP in xcode and tried to run it's giving the following error
Anyone know anything about it and how we can solve this ? I am from android background, so able to solve this issue.
m
Mohit
08/19/2024, 5:36 AM
in your terminal, cd to your iosApp and try
pod deintegrate
🙌 1
Mohit
08/19/2024, 5:36 AM
And then simply sync and run from Android Studio/fleet whatever you are using
m
Mirza
08/20/2024, 6:27 AM
okay thanks, let me try.
Mirza
08/20/2024, 7:06 AM
I tried as you can see, but still I am getting same error. FYI, I am running the iOS project from xcode after importing not from android studio, I don't think that should be the problem.
m
Mohit
08/21/2024, 4:03 AM
Then I think you need to check the info.plist file of shared. Open Android Studio > go to shared>build>xcode-frameworks>Debug>iphonesimulator or any other iphone> shared.framework and check whether you have info.plist there. This is an auto generated file so if you see any issue, all you can do is clean and rebuild