Multiplatform Project: iOS and Android Tutorial: "Why SharedCode/build/bin folder are not generated".
Opened this issue · 7 comments
Good afternoon
When I get to this part of the tutorial I can not proced because don get SharedCode / build / bin folder. Why this folder is not generated? I did all the steps and I test the android part and is ok.
Let's switch back to the Android Studio and execute the build target of the SharedCode project from the Gradle tool window. The task looks for environment variables set by the Xcode build and copies the right variant of the framework into the SharedCode/build/xcode-frameworks folder. We then include the framework from that folder into the build.
This step should generate those folders. Did this finish successfully?
Hi, @zierka. I have the same issue. I've cloned and run the app, everything is fine, but I don't have the frameworks generated. Is it compulsory to have a MacOS ?
I'm using:
Windows 10
Android Studio 3.3
Kotlin version: 1.3.0-rc-190
@elvinakhundzada you need Xcode which runs on Mac only.
Sent with GitHawk
@elvinakhundzada Yes, Is basically this. By the way @zierka, I solved my problem it was caused cause the xcode version.
I runned "sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/`" for fix the xcode paths. When I updated xcode version, the path wasn't the same as before.
Ohh, got it !
Thank you @danilodan1485 !
Solved
I runned "sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/`" for fix the xcode paths. When I updated xcode version, the path wasn't the same as before.
If i use above command also, i am unable to generate XCode framework.