Build for debug is just press on the PLAY symbol, but I don't know how to Build for distribution/release?
To create a release build, you have to edit your current scheme (⌘<) and highlight "Run [name of application]. On the right, select "Build Configuration" and choose "Release". Build as usual.
A build configuration file is a plain-text file you use to specify the build settings for a specific target or your entire project. Build configuration files make it easier to manage build settings yourself, and to change build settings automatically for different architectures and platforms.
The short answer is:
You can use command line tool to build the release version. Next to your project folder, i.e.
$ ls ... Foo.xcodeproj ...
Type the following build command:
$ xcodebuild -configuration Release
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With