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

Adding more information about cocoapods #80

Merged
merged 2 commits into from
Mar 30, 2020

Conversation

KevinSchildhorn
Copy link
Contributor

No description provided.

@KevinSchildhorn KevinSchildhorn linked an issue Mar 25, 2020 that may be closed by this pull request
isStatic = false
}
```
Note that you need to apply the `org.jetbrains.kotlin.native.cocoapods` plugin.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of #76, we're using a forked version of the plugin in here, because the official one always builds a static framework which doesn't allow for debugging. We should address that in here in addition to or instead of pointing to the official plugin.

Copy link
Contributor

@samhill303 samhill303 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Russell about mentioning our fork, but otherwise this looks great!


## Cocoapods gradle Integration

Starting with 1.3.30, gradle has added an integration that allows the Kotlin Native library to be referenced as a Cocoapods dependency (We are using this integration in the KaMP Kit and we recommend this method when using cocoapods). The integration adds a gradle task that generates a `podspec` that includes everything needed to be referenced by cocoapods. We are using the available cocoapods code block to customize our podspec, which is located in the `shared/build.gradle`.
Copy link
Contributor

@samhill303 samhill303 Mar 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gradle didnt make the integration. Kotlin/KMP did

@samhill303 samhill303 merged commit 0ad9f2b into master Mar 30, 2020
@samhill303 samhill303 deleted the ks/CocoapodsDocumentation branch March 30, 2020 19:02
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

Successfully merging this pull request may close these issues.

Create CocoaPod plugin documentation
3 participants