Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/touchlab-lab/KotlinXcodeSync
Sync Kotlin files with an Xcode project
https://github.com/touchlab-lab/KotlinXcodeSync
kotlin-multiplatform kotlin-native
Last synced: 2 months ago
JSON representation
Sync Kotlin files with an Xcode project
- Host: GitHub
- URL: https://github.com/touchlab-lab/KotlinXcodeSync
- Owner: touchlab-lab
- License: apache-2.0
- Created: 2019-01-28T22:42:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T21:08:36.000Z (almost 5 years ago)
- Last Synced: 2024-08-11T17:09:46.448Z (5 months ago)
- Topics: kotlin-multiplatform, kotlin-native
- Language: Kotlin
- Homepage: https://touchlab.co/
- Size: 73.2 KB
- Stars: 25
- Watchers: 6
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-kotlin-multiplatform - KotlinXcodeSync - Sync Kotlin files with an Xcode project (Libraries / Build & Development Tools)
README
# Kotlin Xcode Sync
*Note* Soon to be deprecated. You can add folder references instead. [See here](https://github.com/touchlab/xcode-kotlin/issues/16).
Import kotlin files into an Xcode project. This is used in conjunction with the [Xcode
Kotlin plugin](https://github.com/touchlab/xcode-kotlin) to allow for Kotlin/Native debugging in an iOS application.Importing Kotlin files into Xcode is somewhat tricky to do manually. This plugin will facilitate
that.It is called "Sync", but currently it will only add new files. Renamed or removed files will
need to be handled manually in Xcode.> ## **We're Hiring!**
>
> Touchlab is looking for Android-focused mobile engineers, experienced with Kotlin and
> looking to get involved with Kotlin Multiplatorm in the near future. [More info here](https://on.touchlab.co/2NrAhB8).## Usage
Add the following to the buildscript section:
```groovy
buildscript {
dependencies {
classpath 'co.touchlab:kotlinxcodesync:0.2'
}
}
```Apply the plugin in the shared code project, and configure the plugin
```groovy
apply plugin: 'co.touchlab.kotlinxcodesync'xcodeSync {
projectPath = "../../iosApp/iosApp.xcodeproj"
target = "iosApp"
}
```The 'projectPath' points at the Xcode project folder. 'target' is the target inside the Xcode project. There's also the optional
parameter 'group', which by default is set to 'Kotlin'. That is the group folder that files are copied into.