fireplusteam / ios-swift-for-vs-code

VSCode extension to Develop iOS applications
https://marketplace.visualstudio.com/items?itemName=FirePlusTeam.vscode-ios
MIT License
26 stars 0 forks source link
apple debug ide ios ios-development ios-swift macos objective-c swift tvos visionos vscode vscode-extension watchos xcode xcodebuild

vscode-ios README

📦VSCode Marketplace | 🐞 Github Issues

You can support this project by giving a star on GitHub ⭐️

GitHub


Develop/Build/Debug/Test your xCode projects in VS Code with your favorite extensions.

Before use it make sure you've installed all dependencies required for this extension.


Autocomplete

Autocomplete

🌳 File Tree Integration

🌳 File Tree Integration

Also check Tricks and Tips

Features

Instead of xCode preview you can use hot reloading InjectionIII which works great with this extension:

Dependencies

Before an extension is activated, there's a automatic check if those dependencies are installed and if not, it's ask a user to install them automatically. Use the following guide to install them manually if any it doesn't work for you:

Required Dependencies:

Note: As sourcekit-lsp updates indexes while building, If you want to have indexes updating even if you have compile errors, you need to give a full disk control to Visual Studio Code in Security Settings which allows to install a proxy service for Apple XCBBuildService automatically when an extension is activated. This's just needed to override the continueBuildingAfterError property when you build the app and gives you all errors in the project and compile flags possible used by sourcekit for indexing.

How to use

"configurations": [
    {
        "type": "xcode-lldb",
        "name": "Xcode: Run App & Debug",
        "request": "launch",
        "target": "app",
        "isDebuggable": true,
        "buildBeforeLaunch": "always"
    }
]

Extension Settings

This extension contributes the following settings:

Known Issues

Release Notes

0.5.2

It's still under development, so you can face some bugs