use xcode-select to find current xcode installation

This commit is contained in:
Laurent Sansonetti
2012-01-03 18:13:30 +01:00
parent 2b36822508
commit 09da1c197c

View File

@@ -34,7 +34,7 @@ module Motion; module Project
@project_dir = project_dir
@files = Dir.glob(File.join(project_dir, 'app/**/*.rb'))
@dependencies = {}
@platforms_dir = '/Developer/Platforms'
@platforms_dir = File.join(`/usr/bin/xcode-select -print-path`.strip, 'Platforms')
@frameworks = ['UIKit', 'Foundation', 'CoreGraphics']
@libs = []
@delegate_class = 'AppDelegate'