Closed ln-12 closed 3 years ago
I am experiencing the same issue.
Hey, @ln-12! Thanks for reporting the issue. Are you sure that you are using the final branch? This problem may appear on the master branch because on the first step there is no code in iOS source set, so there is no generated .framework file.
And also have you tried to clean the Xcode project or delete the build folder of the KMM shared module? (kmm-networking-and-data-storage/shared/build
)?
First of all I wanna state out that the idea behind KMM is awesome! Unfortunately I ran into an issue when trying it out.
Using the final branch, I cannot build the iOS app. After building the project in Android Studio 4.1 RC 3, switching to XCode 12.0 and hitting Product -> Build, I get the error
No such module 'shared'
insideContentView.swift
. When doing the same on a newly generated KMM application, this works fine. I noticed, that Android Studio does not generate thexcode-frameworks
folder, so it's no surprise that XCode can't find it.Moreover, I cannot run the iOS simulator from Android Studio. The build fails with:
Am I missing something?