This commit is contained in:
Laurent Sansonetti
2012-06-17 16:26:59 +02:00
parent f02e19fae6
commit 6fb0a8184f
2 changed files with 32 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
PLATFORMS_DIR = '/Applications/Xcode.app/Contents/Developer/Platforms'
PROJECT_VERSION = '1.11'
PROJECT_VERSION = '1.12'
PLATFORMS_DIR = (ENV['PLATFORMS_DIR'] || '/Applications/Xcode.app/Contents/Developer/Platforms')
sim_sdks = Dir.glob(File.join(PLATFORMS_DIR, 'iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk')).map do |path|
File.basename(path).scan(/^iPhoneSimulator(.+)\.sdk$/)[0][0]