Xcode Override Architectures

Hi,

I had the foolish idea to update to the latest Xcode 15 and now I cannot build Universal binary on my Intel machine from scratch… Since Xcode 15.3 you can override architecture built in Scheme.
The default option is Match Run Destination which override the fact that I set an universal binary…

I can fix it manualy but would like to know if someone know how to fix this in cmake as otherwise it would mean I cannot do release version from scratch anymore without opening xcode and fixing it manualy.

Thanks !

2 Likes

Using Archive does the trick, but I don’t want this extra zip file :slight_smile:

or setting in cmake

set(CMAKE_XCODE_GENERATE_SCHEME “TRUE”)

i stumbled over the same problem. suddenly my automated build system did not spit out universal anymore. freakin Apple. setting this to a breaking default value…

do you know how to set this/ override this at commandline with xcodebuild? i could not find anything. I am using Projucer and juce hasnt been updated to set this explicitly…

At first glance this need to be done before calling xcodebuild so…
You can still use the Archive scheme though

Ok, thanks. Gonna try that through commandline.