https://kotlinlang.org logo
#fleet
Title
# fleet
u

Uli Niggemann

11/15/2023, 8:29 AM
Good morning, I also have a question regarding a fleet run configuration. I am wondering if it is possible to launch a non-multiplatform xcode-project. The existing app is kind of complex (app, with different modules which itself have kmp-submodules… If I try to create a configuration the project, targets etc. are not available in code-completion and also the Navigation inside the Swift-Files are not working, so my guess is: It simply doesn’t work at all - is this correct? Thanks
y

Yulia Nizienko

11/15/2023, 11:46 AM
Hello Uli, Currently, we do support simple non-multiplatform Xcode projects, including general Swift support features such as code completion, file navigation etc. However, given the complexity of your project, especially with its structure involving various modules and KMP submodules, there may be certain limitations. To better assist you, it would be helpful if you could provide us with access to your project or a demo that replicates the issue.
u

Uli Niggemann

11/15/2023, 3:46 PM
Hi Yulia, meanwhile we have something here - my colleague has seen, that touchlab specifies the xcode-path in a gradle.properties file (https://github.com/touchlab/KaMPKit/blob/main/gradle.properties) Adding it like this
xcodeproj=./
enables those general features, which is really great.
By adding a additional settings.gradle to the root (xCode-Project) with a include of the inner kmp-shared module, we are also able to navigate inside this module.
The only thing missing right now is, that we are not able to navigate from the ios-world into the kmp-world as we get stuck in the generated module.swift-header…
I will try to wrap this all up in an example, but this will take some time. However event this kind of broken flow it still way better that the xcode-kotlin withing xCode. So thanks in advance 🙏
thank you color 1
2 Views