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

iOS setup instructions are out of date and do not work with the latest versions #269

Open
oblakr24 opened this issue Sep 17, 2024 · 4 comments

Comments

@oblakr24
Copy link

Problem Statement

Basically, if you open a fresh IntelliJ project with Kotlin 2.0.20 and attempt to reproduce the iOS setup, the project fails to sync.

There are several issues, namely the cocoapods plugin definition needs to also be added at the project-leved build gradle along with its version, and the cocoapods {} block syntax has been changed:

https://kotlinlang.org/docs/native-cocoapods-dsl-reference.html#targets

Solution Brainstorm

No response

@buenaflor
Copy link
Contributor

hey! thanks for pointing it out, right this moment I am working on improving the getting started docs, I'll look out for kotlin 2.0.20

@oblakr24
Copy link
Author

oblakr24 commented Sep 17, 2024

Thank you.
I got this issue next:
gradle/gradle#20084
which is resolved by a workaround in gradle.properties:
kotlin.apple.deprecated.allowUsingEmbedAndSignWithCocoaPodsDependencies=true

However I still get an error when building the project in XCode, do you want me to create a separate issue?

Image

@buenaflor buenaflor self-assigned this Sep 26, 2024
@buenaflor
Copy link
Contributor

yes please create a separate issue

@oblakr24
Copy link
Author

oblakr24 commented Oct 5, 2024

Created a separate issue:
#278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Review
Development

No branches or pull requests

2 participants