Wiki

Clone wiki

unrealspeccyp / build_ios

Building iOS version using CMake

Note: starting from Xcode 7 you're able to build & install & debug programs on device without developer account. So you can try to build version.

Step 1. Install Xcode from App Store.

Снимок экрана 2016-03-14 в 01.44.39.png

Step 2. Install Xcode command line tools.

Launch Terminal application and type:

#!bash
xcode-select --install

Step 3. Download & install CMake.

https://cmake.org/download/

Step 4. Clone git repository.

#!bash
git clone https://bitbucket.org/djdron/unrealspeccyp.git usp

Step 5. Generate Xcode project.

#!bash
cd usp/build/cmake
mkdir build_ios
cd build_ios
cmake .. -G Xcode -DCMAKE_SYSTEM_NAME=iOS

Step 6. Connect your iOS device to Mac with cable.

Step 7. Open generated project with Xcode.

Снимок экрана 2016-03-14 в 03.05.47.png

  1. select product scheme & device
  2. select target for configuring properties
  3. press "Fix Issue"
  4. login with your Apple Id or select existing developer profile
  5. open Product -> Scheme -> Edit Scheme from Xcode menu (or press CMD + < )
  6. select build configuration - Release
  7. close scheme edit window
  8. select Product -> Run from Xcode menu (or press CMD + R)
  9. you've done!

Updated