atomicobject/objection — Issue #15: Rakefile needs updating for Xcode 4.3 location
Author: toolbear
Created: 2012-02-29 19:42:22+00:00
State: open

Xcode 4.3 installs under `/Applications` and CLI tools live in `/usr/bin` instead of `/Developer/usr/bin`. Building fails because `xcodebuild` is expected to still be under `/Developer`. Changing to new location works for me:

def xcodebuild_executable
"/usr/bin/xcodebuild"
end

But my Ruby-fu isn't strong enough to know the best way to make this conditional so it works for Xcode 4.2 and before, otherwise I'd send a pull request.