install_xcode_plugin

Install an Xcode plugin for the current user

Since Xcode 8, which added runtime library validation and source editor extensions (New Features in Xcode 8), Xcode only loads plugins once you re-sign it yourself, and Xcode 14 removed its plugin system.
A source editor extension ships inside a macOS app: install the app, then enable the extension in the Extensions section of System Settings.

install_xcode_plugin
Supported platforms ios, mac
Author @NeoNachoSoto, @tommeier

2 Examples

install_xcode_plugin(url: "https://example.com/clubmate/plugin.zip")
install_xcode_plugin(github: "https://github.com/contentful/ContentfulXcodePlugin")

Parameters

Key Description Default
url URL for Xcode plugin ZIP file
github GitHub repository URL for Xcode plugin

* = default value is dependent on the user's system


Documentation

To show the documentation in your terminal, run

fastlane action install_xcode_plugin

CLI

It is recommended to add the above action into your Fastfile, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal

fastlane run install_xcode_plugin

To pass parameters, make use of the : symbol, for example

fastlane run install_xcode_plugin parameter1:"value1" parameter2:"value2"

It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g. param:"1,2,3"). Hashes are not currently supported.

It is recommended to add all fastlane actions you use to your Fastfile.


Source code

This action, just like the rest of fastlane, is fully open source, view the source code on GitHub


Back to actions