fix xcodebuild path

This commit is contained in:
Watson
2014-09-01 22:17:25 +09:00
parent b18c0b1469
commit d30a6f230b
2 changed files with 2 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ module Motion; module Project;
def sdk_build_version(platform)
@sdk_build_version ||= begin
sdk_path = sdk(platform)
`\"#{xcode_dir}/usr/bin/xcodebuild\" -version -sdk '#{sdk_path}' ProductBuildVersion`.strip
`#{locate_binary('xcodebuild')} -version -sdk '#{sdk_path}' ProductBuildVersion`.strip
end
end

View File

@@ -213,7 +213,7 @@ module Motion; module Project;
def sdk_build_version(platform)
@sdk_build_version ||= begin
sdk_path = sdk(platform)
`xcodebuild -version -sdk '#{sdk_path}' ProductBuildVersion`.strip
`#{locate_binary('xcodebuild')} -version -sdk '#{sdk_path}' ProductBuildVersion`.strip
end
end
end