cryptocat/cryptocat — pull request #387 by mtigas (2013-07-15 16:43:38+00:00)
Title: "make mac-app" command

**Note:** See comments in issue cryptocat/cryptocat#382 ("Mac App Distribution outside of the Mac App Store").

* This `Makefile` command generates a Cryptocat.app without having to open Xcode. Also zips it (same as with the browser plugin make commands).
* Running "make mac-app" runs the `xcodebuild` shell command, which is like opening Xcode and pressing "build".

*Might* not work if you have already been using `Cryptocat.xcodeproj` and you’ve customized your build schemes or other bits about your Xcode environment for this project.

But I’ve tested this on a fresh checkout and it works great. Example output below:

```shell
$ git clone git@github.com:mtigas/cryptocat.git cc
Cloning into 'cc'...
remote: Counting objects: 13712, done.
remote: Compressing objects: 100% (5088/5088), done.
remote: Total 13712 (delta 7832), reused 13409 (delta 7564)
Receiving objects: 100% (13712/13712), 15.88 MiB | 3.09 MiB/s, done.
Resolving deltas: 100% (7832/7832), done.
Checking connectivity... done
$ cd cc
$ make mac-app
Build settings from command line:
CONFIGURATION_BUILD_DIR = /tmp/test

=== CLEAN NATIVE TARGET Cryptocat OF PROJECT Cryptocat WITH CONFIGURATION Release ===
Check dependencies

Clean.Remove clean /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-ajnhgxunzrpkxsbwivhoezwrkwsa/Cryptocat-Prefix.pch.pth
builtin-rm -rf /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-ajnhgxunzrpkxsbwivhoezwrkwsa/Cryptocat-Prefix.pch.pth

Clean.Remove clean /tmp/test/Cryptocat.app
builtin-rm -rf /tmp/test/Cryptocat.app

Clean.Remove clean /tmp/test/Cryptocat.app.dSYM
builtin-rm -rf /tmp/test/Cryptocat.app.dSYM

Clean.Remove clean build/Cryptocat.build/Release/Cryptocat.build
builtin-rm -rf /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build

** CLEAN SUCCEEDED **

Build settings from command line:
CONFIGURATION_BUILD_DIR = /tmp/cc/release

=== BUILD NATIVE TARGET Cryptocat OF PROJECT Cryptocat WITH CONFIGURATION Release ===
Check dependencies

ProcessInfoPlistFile /tmp/cc/release/Cryptocat.app/Contents/Info.plist Cryptocat-Info.plist
cd /tmp/cc/src/mac
builtin-infoPlistUtility Cryptocat-Info.plist -genpkginfo /tmp/cc/release/Cryptocat.app/Contents/PkgInfo -expandbuildsettings -platform macosx -o /tmp/cc/release/Cryptocat.app/Contents/Info.plist

CpResource Cryptocat.icns /tmp/cc/release/Cryptocat.app/Contents/Resources/Cryptocat.icns
cd /tmp/cc/src/mac
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /tmp/cc/src/mac/Cryptocat.icns /tmp/cc/release/Cryptocat.app/Contents/Resources

CpResource en.lproj/Credits.rtf /tmp/cc/release/Cryptocat.app/Contents/Resources/en.lproj/Credits.rtf
cd /tmp/cc/src/mac
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /tmp/cc/src/mac/en.lproj/Credits.rtf /tmp/cc/release/Cryptocat.app/Contents/Resources/en.lproj

CompileXIB en.lproj/MainMenu.xib
cd /tmp/cc/src/mac
setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /tmp/cc/release/Cryptocat.app/Contents/Resources/en.lproj/MainMenu.nib /tmp/cc/src/mac/en.lproj/MainMenu.xib --sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk

CpResource htdocs /tmp/cc/release/Cryptocat.app/Contents/Resources/htdocs
cd /tmp/cc/src/mac
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /tmp/cc/src/mac/htdocs /tmp/cc/release/Cryptocat.app/Contents/Resources

CompileXIB CryptocatWindowController.xib
cd /tmp/cc/src/mac
setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /tmp/cc/release/Cryptocat.app/Contents/Resources/CryptocatWindowController.nib /tmp/cc/src/mac/CryptocatWindowController.xib --sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk

ProcessPCH /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch.pth Cryptocat-Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /tmp/cc/src/mac
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-generated-files.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-own-target-headers.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-all-target-headers.hmap -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-project-headers.hmap -I/tmp/cc/release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources/x86_64 -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources -F/tmp/cc/release --serialize-diagnostics /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch.dia -c /tmp/cc/src/mac/Cryptocat-Prefix.pch -o /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch.pth -MMD -MT dependencies -MF /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch.d

CompileC build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatAppDelegate.o CryptocatAppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /tmp/cc/src/mac
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-generated-files.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-own-target-headers.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-all-target-headers.hmap -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-project-headers.hmap -I/tmp/cc/release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources/x86_64 -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources -F/tmp/cc/release -include /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch -MMD -MT dependencies -MF /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatAppDelegate.d --serialize-diagnostics /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatAppDelegate.dia -c /tmp/cc/src/mac/CryptocatAppDelegate.m -o /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatAppDelegate.o
/tmp/cc/src/mac/CryptocatAppDelegate.m:43:2: warning: todo [-W#warnings]
#warning todo
^
1 warning generated.

CompileC build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/main.o main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /tmp/cc/src/mac
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-generated-files.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-own-target-headers.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-all-target-headers.hmap -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-project-headers.hmap -I/tmp/cc/release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources/x86_64 -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources -F/tmp/cc/release -include /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch -MMD -MT dependencies -MF /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/main.d --serialize-diagnostics /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/main.dia -c /tmp/cc/src/mac/main.m -o /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/main.o

CompileC build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowController.o CryptocatWindowController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /tmp/cc/src/mac
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-generated-files.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-own-target-headers.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-all-target-headers.hmap -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-project-headers.hmap -I/tmp/cc/release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources/x86_64 -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources -F/tmp/cc/release -include /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch -MMD -MT dependencies -MF /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowController.d --serialize-diagnostics /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowController.dia -c /tmp/cc/src/mac/CryptocatWindowController.m -o /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowController.o

CompileC build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowManager.o CryptocatWindowManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /tmp/cc/src/mac
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-generated-files.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-own-target-headers.hmap -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-all-target-headers.hmap -iquote /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Cryptocat-project-headers.hmap -I/tmp/cc/release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources/x86_64 -I/tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/DerivedSources -F/tmp/cc/release -include /var/folders/2k/jdwfp9vn6dz4fqdc83_n368r__5qjt/C/com.apple.Xcode.346218042/SharedPrecompiledHeaders/Cryptocat-Prefix-byetdnbgcwqxazcnvaoohgkvdrou/Cryptocat-Prefix.pch -MMD -MT dependencies -MF /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowManager.d --serialize-diagnostics /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowManager.dia -c /tmp/cc/src/mac/CryptocatWindowManager.m -o /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/CryptocatWindowManager.o

Ld /tmp/cc/release/Cryptocat.app/Contents/MacOS/Cryptocat normal x86_64
cd /tmp/cc/src/mac
setenv MACOSX_DEPLOYMENT_TARGET 10.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/tmp/cc/release -F/tmp/cc/release -filelist /tmp/cc/src/mac/build/Cryptocat.build/Release/Cryptocat.build/Objects-normal/x86_64/Cryptocat.LinkFileList -mmacosx-version-min=10.7 -fobjc-arc -fobjc-link-runtime -framework WebKit -framework Cocoa -o /tmp/cc/release/Cryptocat.app/Contents/MacOS/Cryptocat

GenerateDSYMFile /tmp/cc/release/Cryptocat.app.dSYM /tmp/cc/release/Cryptocat.app/Contents/MacOS/Cryptocat
cd /tmp/cc/src/mac
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /tmp/cc/release/Cryptocat.app/Contents/MacOS/Cryptocat -o /tmp/cc/release/Cryptocat.app.dSYM

Touch /tmp/cc/release/Cryptocat.app
cd /tmp/cc/src/mac
/usr/bin/touch -c /tmp/cc/release/Cryptocat.app

** BUILD SUCCEEDED **

[Cryptocat] Mac standalone app available in release/
$ ls release
Cryptocat.app	cryptocat-mac-standalone.zip
```