Record of iOS Compilation and Debugging in Non-Xcode Environment

This article documents the actual development process of creating a project, writing code, connecting an iPhone to run, and generating an installation package using the Kuai Xie IDE, showcasing the specific operational experience of completing iOS compilation and debugging in a single development environment.

In iOS project development, the action of compilation occurs frequently. After writing a piece of code, you need to build the application to verify the logic; after modifying a UI, you need to recompile to confirm the effect. This cycle repeats continuously throughout the development process.

Recently, while working on a small tool project, I tried a different compilation method: instead of using the original Xcode project, I completed the entire process in an independent iOS development environment. The tool is an IDE called Kuai Xie, primarily aiming to validate its actual performance in Apple development compilation.

The project itself is not complex, but it can cover aspects such as code writing, application compilation, device running, and installation package generation.


Project Initialization and Code Preparation

After opening the Kuai Xie IDE, you can directly enter the project creation interface. It provides several project types, including Swift, Objective-C, and Flutter.

This time, I selected a Swift project. After entering the project name, the IDE generates the project directory, containing basic code files and configuration files.

Opening the entry file allows you to write code directly without additional development environment preparation. The IDE has built-in compilation tools upon installation, so the project is ready for compilation after creation.

To test the compilation process, I wrote a simple function:

  • Display a piece of text on the page
  • Provide a button to update the content

When the button is clicked, it calls a method to read local data and refresh the interface.

After saving the code, the editor performs syntax checking. If there are issues, they are marked at the code location.
Create Project


Executing a Complete Apple Development Compilation

After completing the code, connect the iPhone to the computer.

After selecting the device, the IDE starts executing the compilation task.

In the output panel, you can see the build process, including:

  • Compiling source code
  • Building the application
  • Installing to the device

After the build is complete, the application icon appears on the phone’s desktop. Opening the application shows the page displaying normally.

Clicking the button updates the text content to new data, indicating that the code has executed successfully.
Build and Install


Recompilation After Modifying Code

During development, compilation is not performed only once.

I added a piece of logic to the code to output log information when the button is clicked. After saving the file and clicking the run button again, the IDE re-executes the compilation process.

The new application version is installed on the phone. Opening the application and clicking the button shows the updated behavior.

This cycle process is relatively clear:

Modify code → Execute compilation → Install application → Verify results

The entire process is completed within a single tool, without additional packaging or export steps.


Integration Method of Compilation Tools

During use, it can be seen that the Kuai Xie IDE has already integrated a suite of compilation tools internally.

When running, the IDE calls internal tools to complete code compilation and application building. These tools are configured upon IDE installation.

Developers writing code in this environment do not need to install Xcode separately. Compilation and running operations can be completed directly within the IDE.

For development phases requiring frequent application compilation, this method reduces the process of tool switching.


Compilation Testing Under Multiple Project Types

To verify compilation capabilities, I created an Objective-C project.

After project creation, I wrote a simple interface, then connected the iPhone and clicked run; the application could be installed normally on the device.

Next, I created a Flutter project for testing. After compilation, the Flutter page could also be installed on the phone.

In the same IDE, compilation for different types of projects can be completed:

  • Swift applications
  • Objective-C applications
  • Flutter projects

This unified environment is more convenient when maintaining multiple projects.


Building Installation Package for Distribution

After confirming the application functionality, an installation package needs to be generated.

In the Kuai Xie 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 errors occur during compilation, detailed information can be viewed here.

The generated installation files can be used for test distribution or submission to app store review.
Build and Release


Summary of Development and Compilation Process

In this test project, the Apple development compilation process remained relatively straightforward:

Create project → Write code → Compile application → Device run → Modify code → Recompile → Build installation package

These steps are all completed within the same development environment.

For developers, the smoother the compilation process, the easier it is to maintain a continuous development rhythm. Reducing environment configuration and tool switching allows more time to be invested in the code itself.

Reference link: https://kxapp.com/

Related Recommendations

iOS 开发 IDE

Boosting Development Efficiency: Using Kxapp for iOS Project Creation, Debugging, and Building

This article documents a practical development workflow using the Kxapp IDE for iOS development, covering project creation, coding, iPhone debugging, and package generation, showcasing how to complete iOS development and building within a single IDE.

iOS 开发 IDE

New iOS Development Tool Experience: Complete App Development and Real Device Debugging in FastScorpion IDE

Record the process of using an iOS development tool to complete app development, including creating a Swift project, writing code, connecting an iPhone for debugging, and generating an installation package in FastScorpion IDE. The article demonstrates the operational experience of an IDE for iOS development and building through practical development steps.

iOS 开发 IDE

Record of iOS Compilation and Debugging in Non-Xcode Environment

This article documents the actual development process of creating a project, writing code, connecting an iPhone to run, and generating an installation package using the Kuai Xie IDE, showcasing the specific operational experience of completing iOS compilation and debugging in a single development environment.

iOS Development IDE

Are There Xcode Alternatives? The Process of iOS Development in KuaiXie IDE

Exploring Xcode alternatives, this article details the development process using KuaiXie IDE—from project creation and coding to connecting an iPhone for running and generating installation packages—showcasing the specific operational experience of iOS development and compilation without relying on Xcode.