Import large C project into Xcode 14

Hi

I want to contribute to a large open source project written in C language. The project uses Makefile for building.

How can I import this project into Xcode? I don't see any "import" option in Xcode 14.

Also, please suggest if Xcode the right tool for a large project written in C?

Create a workspace and copy the full project in it. Then use xCode as an editor.

One potential problem with using Xcode for this project is the open source project may not support Xcode project files. You would have to create a new project in Xcode and add the files from the open source project to the Xcode project. You may have problems pushing your changes to the open source project because of the Xcode project file. If you use a text editor like Visual Studio Code, Sublime Text, BBEdit, or TextMate, you wouldn't have to deal with Xcode project files.

If you decide to use Xcode, start by creating an External Build System project in Xcode. The External Build System project is in the Other section of the New Project Assistant. Creating an External Build System project will give you an Xcode project that uses make as the build tool if you follow the defaults.

After creating the project add the files from the open source project to your project. You can either drag the folders in the project to the Xcode project or choose File > Add Files to ProjectName in Xcode.

I can't imagine why Xcode can't support this simple use case (importing project from existing sources) which many other IDEs support out of the box.

Switching to another IDE. VS code was able to import it instantly.

Import large C project into Xcode 14
 
 
Q