touchlab / xcode-kotlin

Kotlin Native Xcode Plugin
https://touchlab.co/xcodekotlin
Apache License 2.0
1.17k stars 46 forks source link

Use current default Xcode path when multiple Xcode installations are present #29

Closed AlexTrotsenko closed 2 years ago

AlexTrotsenko commented 4 years ago

Currently hard-coded Xcode path is used during the plugin installation (/Applications/Xcode.app). When you have multiple Xcode installations you want this plugin to be installed for "current default Xcode".

P.S. My main intention is to raise the issue and propose at least one solution. Thus feel free to do any adjustments to this PR if required - my core expertise is rather Android then iOS.

kpgalligan commented 2 years ago

Sorry for dealy :)

We're removing Xcode 11 support, and in Xcode 12+, the plugin and color files go into a user library folder. I don't think they get one per install, but adding an issue to check: https://github.com/touchlab/xcode-kotlin/issues/49. I don't currently have multiple Xcode versions installed (usually do, but not today)