projectGenerator icon indicating copy to clipboard operation
projectGenerator copied to clipboard

C++ flag -mtune=native makes oF projects not compile for iOS

Open sourya-sen opened this issue 7 years ago • 0 comments

PG is adding cpp flag -mtune=native which is not supported by clang for iOS projects. Mojave 10.14.2, Xcode 10.1, iPad Pro.

The exact error is: clang: error: the clang compiler does not support '-mtune=native'

Simply taking it out of the flags for the iOS project works.

Can/should it be just removed from PG - or will it cause issues for native Mac apps? It's being generated here: https://github.com/openframeworks/projectGenerator/blob/c8ddfe81542a5d50853b8694adde3c033f36a17d/ofxProjectGenerator/src/projects/xcodeProject.cpp#L157

sourya-sen avatar Jan 07 '19 11:01 sourya-sen