comparison MacOsX.txt @ 922:a0a05f9dcd5a mac

notes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Feb 2014 17:41:17 +0100
parents ac8f68cbdbb6
children 8635d78ebb1d
comparison
equal deleted inserted replaced
921:37aec47f49f0 922:a0a05f9dcd5a
1 Build
2 =====
3
1 mkdir Build 4 mkdir Build
2 cd Build 5 cd Build
3 cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON .. 6 cmake -GXcode -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON ..
4 xcodebuild 7 xcodebuild
5 ./Debug/UnitTests 8 ./Debug/UnitTests
6 9
7 xcodebuild -configuration Release 10 xcodebuild -configuration Release
8 ./Release/UnitTests 11 ./Release/UnitTests
12
13
14
15 Xcode
16 =====
17
18 Versions + SDK : http://en.wikipedia.org/wiki/Xcode
19
20 http://stackoverflow.com/questions/6783308/adding-older-ios-sdks-to-xcode-4-1-in-lion
21
22 Vieilles versions de Xcode :
23 https://developer.apple.com/downloads/index.action?name=Xcode
24
25 => 7z x ../xcode_4.3.3_for_lion.dmg && sudo mount -o loop -t hfsplus ./5.hfs /mnt/
26 Archiver /mnt/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs (10.6 et 10.7)
27
28 => 7z x ../xcode_3.2.6_and_ios_sdk_4.3.dmg && sudo mount -o loop -t hfsplus ./5.hfs /mnt/
29
30
31 # cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
32 # sudo tar xvfz ~/MacSDK-10.6-10.7.tar.gz
33
34
35
36 https://gist.github.com/markrickert/7459455
37
38 https://groups.google.com/forum/#!topic/rubymotion/c7UG95FsZWo : "You
39 can compile to 10.6 if you have the proper SDK installed. Xcode 5 only
40 allows you to install 10.7+. I'd advise sticking with 10.8+ for Mac
41 and 6+ for iOS unless you have specific business reasons. Now that
42 Mavericks is free, people have no barrier to update."
43