Skip to content

Commit b8e5cc2

Browse files
lrzWatson1978
authored andcommitted
invoke xcodebuild from the proper xcode_dir
1 parent 30b6562 commit b8e5cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/motion/project/template/ios-extension-config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def supported_sdk_versions(versions)
200200
def sdk_build_version(platform)
201201
@sdk_build_version ||= begin
202202
sdk_path = sdk(platform)
203-
`xcodebuild -version -sdk '#{sdk_path}' ProductBuildVersion`.strip
203+
`\"#{xcode_dir}/usr/bin/xcodebuild\" -version -sdk '#{sdk_path}' ProductBuildVersion`.strip
204204
end
205205
end
206206

0 commit comments

Comments
 (0)