iOS example simple build fails

Hi there,

I just downloaded OpenFrameworks for iOS (https://openframeworks.cc/download/) and tried one of these examples without changing anything, however got build failed.

/clang:-1: no such file or directory: '/Users/kwie/Desktop/of_v0.10.1_ios_release/libs/openFrameworksCompiled/lib/ios/libofxiOS_iphoneos_Debug.a'
  • ofx 0.10.1 (ios)
  • xcode 10.1
  • iOS Deployment Target: iOS 12.1

How can I fix it?

I should solve this naive issue myself, but the official guide is outdated and couldn’t find similar error on google.

Fixed.

Cause
ofx bug

Base approach

Simple solution
On xcode10

Go to File > Project Settings…
set Build System to Legacy Build System

I can confirm that changing to Legacy Build System works. Thanks.

1 Like