File tree Expand file tree Collapse file tree
lib/motion/project/template Expand file tree Collapse file tree Original file line number Diff line number Diff 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- `\" #{ xcode_dir } /usr/bin/ xcodebuild\" -version -sdk '#{ sdk_path } ' ProductBuildVersion` . strip
203+ `#{ locate_binary ( ' xcodebuild' ) } -version -sdk '#{ sdk_path } ' ProductBuildVersion` . strip
204204 end
205205 end
206206
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def supported_sdk_versions(versions)
213213 def sdk_build_version ( platform )
214214 @sdk_build_version ||= begin
215215 sdk_path = sdk ( platform )
216- `xcodebuild -version -sdk '#{ sdk_path } ' ProductBuildVersion` . strip
216+ `#{ locate_binary ( ' xcodebuild' ) } -version -sdk '#{ sdk_path } ' ProductBuildVersion` . strip
217217 end
218218 end
219219 end
You can’t perform that action at this time.
0 commit comments