mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-13 01:29:00 +08:00
invoke xcodebuild from the proper xcode_dir
This commit is contained in:
committed by
Watson
parent
30b6562950
commit
b8e5cc2cca
@@ -200,7 +200,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
|
||||
`\"#{xcode_dir}/usr/bin/xcodebuild\" -version -sdk '#{sdk_path}' ProductBuildVersion`.strip
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user