Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error with a clean new Project #5

Open
Mitti30 opened this issue Sep 19, 2021 · 1 comment
Open

Build Error with a clean new Project #5

Mitti30 opened this issue Sep 19, 2021 · 1 comment

Comments

@Mitti30
Copy link

Mitti30 commented Sep 19, 2021

Hey, i'm getting started with KMM. I tried different approaches in creating a new KMM Project but i'm unable to run any of it. My last approach is with the help of Android Studio. I created a clean Project but it crashes with this exception:

* What went wrong: Task 'embedAndSignAppleFrameworkForXcode' not found in project ':shared'.

Im working on a Mac mini with the new M1 Chip.

@li2
Copy link

li2 commented Oct 5, 2022

I got the same error when create KMM project via "Cocoapods dependency manager", fixed by creating a new kmm via "Regular framework"

If you want to create a new KMM project, consider using the KMM plugin for Android Studio project wizard. It allows you to create a KMM project with a suitable iOS integration option – either the Cocoapods dependency manager or a regular framework that will use the new embedAndSignAppleFrameworkForXcode in the generated project configuration.

https://blog.jetbrains.com/kotlin/2021/07/multiplatform-gradle-plugin-improved-for-connecting-kmm-modules/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants