wojciech-kulik / xcodebuild.nvim

Neovim plugin to Build, Debug, and Test applications created for Apple devices (iOS, macOS, watchOS, etc.)
MIT License
690 stars 18 forks source link

xcode-build-server's --skip-validate-bin flag support #162

Closed ychie closed 1 month ago

ychie commented 3 months ago

Hey @wojciech-kulik,

My project requires passing --skip-validate-bin to the xcode-build-servers config command for autocompletion to work. However, I encountered an issue where this flag was removed whenever I changed the scheme using your plugin. To fix this, I added the ability to enable/disable this flag and save the state inside .nvim/settings.json. https://github.com/ychie/xcodebuild.nvim/commit/c693370e013622753d8cc2eae177db5c9e727924

Screenshot 2024-08-11 at 20 46 50

Would you be interested in including this functionality in your plugin? If so, should I create a pull request?

wojciech-kulik commented 2 months ago

Hi!

I don't have much time right now, but sure, you can create a pull request.

You can extend the config for xcode-build-server to include extra arguments.

For the reference, you can check out this commit to see how to add a new option: https://github.com/wojciech-kulik/xcodebuild.nvim/commit/3fd5b2eef5a5e12e64e1fccc1de4b7e5d351967c

Please also read: https://github.com/wojciech-kulik/xcodebuild.nvim/blob/main/CONTRIBUTING.md Here is more info about adding new options: https://github.com/wojciech-kulik/xcodebuild.nvim/blob/main/CONTRIBUTING.md#adding-new-feature

wojciech-kulik commented 1 month ago

Closing the issue because of lack of activity.