How to create a new Xcode project from existing c / C ++ code space

How to create a new Xcode project from existing c / C ++ code space? What type of project should I choose from the Xcode project template? Thanks.

+5
source share
1 answer

Assuming the existing code has a build system like Make or CMake, etc., you probably want to use the “External Build System” template in the “Other” section of the project panel. If you want to include existing code in a new application / framework / etc., create a template for the type of product that you want to eventually build, and then add the “Run Script” build phase to invoke the external build system.

MacResearch.org has a tutorial on using Xcode Organizer to create external goals that may also be useful.

+4
source

All Articles