Τρίτη, 1 Ιανουαρίου 2013

tweak os x by terminal

http://www.learningosx.com/101-ways-to-tweak-os-x-using-terminal/

speed up xcode tips

here the source:)


I configured Xcode to use 3, 4 and 8 subprocesses, instead of the default 2. You can set the number of processes Xcode uses from Terminal as follows:
defaults write com.apple.Xcode PBXNumberOfParallelBuildSubtasks 4
These are the results I got (all on the 64-bit kernel):
Processes2348
Time57.3 s44.5 s43.3 s47.0 s




My test-case was a full build of the FolderGlance code base. I timed the build with my iPhone, so the results are not completely accurate. However, barring any measurement inaccuracies, the results were quite good:
Kernel32-bit64-bit
Time57.3 s50.2 s
Pretty good for simply switching to the 64-bit kernel! In case you are wondering: Switching to the 64-bit kernel can be done by either holding down the 6 and 4 keys while your Mac is booting, or you can execute the following command from Terminal to make the change persistent:
sudo systemsetup -setkernelbootarchitecture x86_64

Δευτέρα, 13 Αυγούστου 2012

Xcode glitch

from big nerd ranch page 346

There is a little Xcode glitch to be aware of: sometimes Xcode just ignores a resource file's changes when you build an application. To ensure your application is being built from scratch, first delete the application from your device or simulator. Then, choose Clean from the Product menu. This will force the application to be entirely recompiled, re-bundled, and re-installed.