> For the complete documentation index, see [llms.txt](https://docs.electricbolt.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.electricbolt.co.nz/appfigurate-se-user-guide/xcode-source-editor-extension.md).

# Xcode source editor extension

Follow the instructions on the `Xcode extension` tab to enable the source editor extension inside Xcode.

<figure><img src="/files/oUwDzrjnp9qMIk1VPhgh" alt=""><figcaption></figcaption></figure>

The source editor extension supports `APLConfiguration` subclasses written in both Objective-C and Swift.

* In Xcode, open your `APLConfiguration` subclass .m or .swift source file.
* Tap Editor ‣ Appfigurate SE ‣ Encrypt strings.
* All instances of `ENCRYPTED_STRING` will be updated automatically with the generated ciphertext.

If the source editor extension could not parse your .m or .swift source file, an error message will be displayed at the top of the Xcode source editor window. Follow these [Troubleshooting](/appfigurate-se-user-guide/xcode-source-editor-extension/troubleshooting.md) tips.
