google-gemini / generative-ai-swift

The official Swift library for the Google Gemini API
https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=swift
Apache License 2.0
909 stars 144 forks source link

Cocoapods Support for Multiplatform #144

Closed jordond closed 4 months ago

jordond commented 5 months ago

Description of the feature request:

I am trying to integrate Gemini into my Compose Multiplatform application. However currently Kotlin Multiplatform only supports iOS libraries as cocoapods.

What problem are you trying to solve with this feature?

Use this library for the iOS side of my multiplatform app.

Any other information you'd like to share?

No response

paulb777 commented 5 months ago

Beyond just CocoaPods, it looks like KMP also needs an Objective-C API. Based on https://kotlinlang.org/docs/native-objc-interop.html#usage, Kotlin does not support Swift language integration and relies upon Objective-C APIs.

github-actions[bot] commented 4 months ago

Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs.