In daily development, VSCode has become the default editor for many people. Writing front-end, scripts, or even back-end services can almost all be done in the same environment. However, when it comes to iOS development, things become different—Swift can be written, but project building, running, and debugging still rely on a complete toolchain.
Recently, while working on a small feature validation, I attempted to complete the entire process of writing Swift in VSCode, not only writing code but also running it on an iPhone. During this process, I used an iOS development IDE called KuaiXie, which offers an editing experience similar to VSCode while having built-in compilation and debugging capabilities.
Creating a Swift Project in a VSCode-like Environment
After opening KuaiXie IDE, the interface structure is quite similar to common code editors. The left side shows the project directory, and the middle is the editing area.
When creating a project, you can choose different types:
- Swift
- Objective-C
- Flutter
After selecting Swift and entering the project name, the IDE automatically generates the project structure. The directory already includes entry files and basic configurations.
One difference here is that there is no need to manually configure project files. Once the project is created, you can directly open the code files and start writing Swift.
If you are used to writing code in VSCode, the learning curve for this step is relatively low.

Writing Swift in a VSCode-like Editor
During the code editing phase, the experience is essentially writing Swift in an enhanced VSCode environment.
I created a simple page:
- A button
- A text label
Clicking the button updates the text content.
While typing code, the editor provides auto-completion suggestions. For example, when entering UIKit-related classes, it automatically lists available methods. After saving the code, the IDE performs syntax checking.
If you need to use an AI code assistant, you can directly install VSCode plugins, which is consistent with the daily development environment.
For developers accustomed to keyboard shortcuts and plugin systems, this editing experience feels quite natural.
Running Code on an iPhone
After writing the code, the key question becomes: Can it be directly run on a phone?
After connecting the iPhone to the computer, execute the build process.
This process completes:
- Compiling Swift code
- Building the application
- Installing it on the device
Within seconds, the app icon appears on the phone’s desktop. Clicking the icon launches the application.
In the test project, clicking the button successfully updates the text content, indicating that the code has been executed correctly.

Modifying Code and Quickly Validating
During development, code needs constant adjustments.
I added some processing logic to the button click, then saved the file and clicked run again. The IDE recompiles the application and installs the new version.
Opening the phone app shows the modified effects.
The rhythm of this process is quite clear:
Write code → Run → Modify → Run again
The entire process does not require switching tools or additional export steps.
How Compilation and Running Are Completed
In this workflow, no external development environment is used.
KuaiXie IDE has a built-in compilation tool suite. When clicking run, the IDE calls internal tools to complete Swift code compilation and application building.
This is why iOS development can be done in a VSCode-like environment.
When writing Swift, developers do not need to install Xcode separately or manually configure the compilation environment.
Handling Different Projects in the Same Environment
To verify the IDE’s capabilities, I created a Flutter project.
After writing the Flutter page, connecting the device and clicking run, the IDE can complete the build and install the application.
Subsequently, I tested an Objective-C project, which also compiled and ran normally.
In the same environment, you can handle:
- Swift projects
- Objective-C projects
- Flutter projects
For developers who need to switch between different technology stacks, this approach is quite convenient.
Building Installation Packages
After the application development is complete, installation packages need to be generated.
In KuaiXie IDE, you can generate application installation files through the build function. The IDE executes compilation and outputs the installation package.
Build logs are displayed in the output panel; if issues arise, you can view detailed information here.
The generated installation files can be used for test distribution or submission to the app store.

The focus of this test was to verify whether it is feasible to complete Swift development in a VSCode-like environment.
In KuaiXie IDE, the entire workflow is seamless:
Create project → Write Swift → Connect device and run → Modify code → Recompile → Build installation package
The code-writing experience is similar to VSCode, while also having iOS application compilation and running capabilities.
For developers accustomed to VSCode, this development approach offers a different choice.
Reference link: https://kxapp.com/blog/14
- Inventory of iOS App Development Tools: Tools in Real Development Tasks
- iOS Development Tools: Beyond IDE Code Writing and App Installation
- 不用 Mac 开发 iOS 的几种可行方案 云服务和内置编译器
- iOS 构建工具有哪些:从 xcodebuild 到 KXApp 的编译方案
- iOS Compiler Independent of Xcode: Detailed Explanation of the kxbuild Tool in kxapp
- iOS 开发效率工具推荐 从 Xcode 加速配置到轻量级 IDE
- iOS 编译流程详解 源码到 IPA 的构建过程
- What iOS Developer Tools Are Available? Combined Use of Xcode, Fastlane, and kxapp
- 10 款值得关注的 iOS 开发工具推荐 从编码调试到上架运维
- iOS 开发环境配置指南 从 Xcode 到轻量级工具链的选择
- Windows 开发 iOS 应用的几种方式
- iOS 开发 IDE 除了 Xcode 还有哪些选择 轻量级开发环境对比
- iOS 开发还有哪些好用的工具?一个不需要 Xcode 的 IDE
- 不用 Xcode 能做 iOS 开发吗?从环境搭建到真机运行的全流程对比
- iPhone真机调试有哪些方法?一次定位推送权限问题时整理出来的几种方案
- Xcode替代方案有哪些?用这几个工具重构iOS开发流程
- iOS IDE有哪些?盘点主流iOS IDE(Xcode/VSCode等)与快蝎(kxapp)
- iOS 开发工具选择指南 从编辑器、编译器到自动化构建
- Swift 开发工具推荐 从 Xcode 到轻量级 IDE 的选择
- 提升 iOS 开发效率的必备工具清单,IDE和调试测试可以用哪些软件
- Xcode 支持的编程语言、主要功能及使用指南,入门到轻量替代方案
- 深入理解 iOS 开发工具链 Cursor、Xcode、KXApp 全面对比与选择指南
- iOS开发中 Xcode 安装不完整解决方案 修复步骤与替代工具配置
- iOS开发环境搭建详解 Xcode 配置与快蝎轻量级工具选择
- iOS开发工具推荐清单 Xcode、KXApp 和 VSCode等5 款实用工具
- iOS开发IDE有哪些 Xcode 和 快蝎 轻量替代方案
- 从零开始学 Swift iOS 开发 iOS应用入门
- 10款值得关注的iOS开发工具推荐
- 10 iOS Development Tools Worth Following
- VS Code 开发 iOS 应用可行吗?能做到代码补全和真机调试吗
- What are the iOS development tools? A comprehensive list for 2026 developers
- iOS 编译器工作原理解析 从源码到机器码的完整链路
- iOS 打包方式汇总 从 Xcode Archive 到轻量级工具链的 IPA 构建
- What iOS Development Efficiency Tools Are There? After Changing Code 17 Times in One Page Debugging Session, I Summarized the Tools
- What are iOS Development Tools? Practical Tools for Each Stage of iOS Development
- iOS开发工具有哪些?2026开发者常用工具盘点
- 免 Xcode 的 iOS 开发新选择?聊聊一款更轻量的 iOS 开发 IDE kxapp 快蝎
- iOS 开发编译与真机调试流程的新思路,用快蝎 IDE 构建应用
- 不安装 Xcode 也能写 iOS 应用?一次免 Xcode 开发流程的实际记录
- iOS 应用打包流程,不用 Xcode 生成安装包
- 苹果应用开发编译流程,用快蝎(kxapp)工具完成 iOS 构建与调试
- 更轻量的 iOS IDE 快蝎(kxapp)完成项目开发与调试,免 Xcode 的 iOS 开发
- 提高开发效率的尝试,用快蝎(kxapp)完成 iOS 项目的创建、调试与构建
- Boosting Development Efficiency: Using Kxapp for iOS Project Creation, Debugging, and Building
- 有没有Xcode 替代方案?在快蝎 IDE 中完成 iOS 开发的过程
- New iOS Development Tool Experience: Complete App Development and Real Device Debugging in FastScorpion IDE
- VSCode 写 Swift 运行到 iPhone?快蝎 IDE 开发实战体验
- 不依赖 Mac 也能做 iOS 开发?跨设备开发流程
- Record of iOS Compilation and Debugging in Non-Xcode Environment
- 入门 iOS 开发 新手工具开发首个应用
- Are There Xcode Alternatives? The Process of iOS Development in KuaiXie IDE
- iOS 开发效率工具有哪些?在一次页面调试改了17次代码之后,我总结出的工具
- iOS开发工具有哪些?iOS 开发每个阶段的实用工具
- iOS 开发工具不止 IDE 代码编写与应用安装的环节
- iOS App Development Requires More Than Just Tech Stack: Enhancing Toolchain for Efficiency
- 不依赖 Xcode 的 iOS 编译器,kxapp 中 kxbuild 工具详解
- Getting Started with iOS System Software Development: Don't Just Learn the Language
- iOS开发者工具有哪些?Xcode、Fastlane 与 kxapp 的组合使用
- What are iOS Development Tools? A Tool List Organized by Development Process
- iOS App 开发工具盘点 真正开发任务中的工具
- Getting Started with iOS Development: Building Your First App with Beginner Tools
- iOS App 开发必备的不只有技术栈,补齐工具链更高效
- Can You Do iOS Development Without a Mac? Cross-Device Development Workflow
- iOS系统软件开发入门,不要只学语言
- iOS 开发工具有哪些 按开发流程整理的工具清单
- KXApp — 让编译更简单
- KXApp — Simplifying Compilation