Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7 - how to build Release target? [duplicate]

Tags:

macos

xcode7

Xcode 7.2 generates output only in the Debug folder when I run Product -> Build For -> Running. I'm not able to force Xcode to generate anything in the Release folder.

Also the outline entries under "Products" on the left side also point to /Users/XXX/Library/......./Products/Debug/....

How can I generate the Release target?

like image 550
adamsfamily Avatar asked Dec 05 '22 19:12

adamsfamily


1 Answers

By default Profile and Archive build Release, so you could do Build for->Profiling to get a Release build.

You can also modify things to build different configurations, or add your own. Choose Product->Scheme->Edit Scheme. Then to make Run use the Release configuration, select Run on the left side and choose Release for Build Configuration on the right.

like image 170
zpasternack Avatar answered Dec 26 '22 10:12

zpasternack