Skip to content

Getting Started: Xcode

Wonsup Yoon edited this page Mar 21, 2024 · 5 revisions

Prerequisites

Install Xcode

Install CMake

Prepare Project

  1. Download and extract latest version.
  2. Open terminal and go to the extracted directory
  3. Prepare project files
$ cmake -B build -GXcode .
  1. Move to build directory
$ cd build
  1. Open Xcode project
$ open e.xcodeproj 

Build and Test (see CLI document for target explanation)

  1. Select target to test xcode-1 xcode-2

  2. Build and run

Note

xcode-3

Debug

  1. Go to TCPAssignment.cpp xcode-4
  2. Add a break point xcode-5
  3. Build and run xcode-6