Install KXApp
Free, no sign-up. Add it to VS Code in one of the ways below, then open your iOS project.
Pick one way to install
All three install the same extension. Your editor keeps it up to date (a VSIX has to be replaced by hand).
VS Code Marketplace
RecommendedIn VS Code's Extensions view (Cmd+Shift+X), search for kxapp and click Install. Or open the store page.
Open VSX
Cursor / VSCodiumEditors that don't use Microsoft's marketplace install from Open VSX. Search for kxapp in the Extensions view.
Open Open VSXVSIX
OfflineDownload the package, then choose Install from VSIX… in the "…" menu of the Extensions view and pick the downloaded kxapp.vsix.
Install from the command line
With VS Code's code command on your PATH (run "Shell Command: Install 'code' command in PATH" from the Command Palette), run:
$ code --install-extension kxapp.kxapp$ code --install-extension ~/Downloads/kxapp.vsixAfter installing
Have more than one Xcode? Check which one is selected
The extension uses the currently selected Xcode. This command should print the Developer folder inside Xcode.
$ xcode-select -pIf it prints /Library/Developer/CommandLineTools, run sudo xcode-select -s /Applications/Xcode.app to switch to Xcode.
Install xcodeproj before changing project settings
It's used when you change project settings or add assets and languages in VS Code. The extension offers a one-click install the first time; you can also install it now.
$ gem install --user-install xcodeprojCocoaPods users already have it. If you're told Ruby can't be found, put its path in the kxapp.rubyPath setting.
Open your project and start
Open the folder of your iOS project in VS Code, pick a scheme and a device, and press Cmd+R to run.
Read the quick startRequirements
- macOS Use it on your Mac.
- Xcode Install it from the App Store or the Apple Developer site, and open it once to finish installing its components.
- VS Code 1.93 or later Editors based on VS Code, such as Cursor and VSCodium, work too; install from Open VSX or the VSIX.