File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/motion/project/template Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ def supported_sdk_versions(versions)
200
200
def sdk_build_version ( platform )
201
201
@sdk_build_version ||= begin
202
202
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
204
204
end
205
205
end
206
206
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def supported_sdk_versions(versions)
213
213
def sdk_build_version ( platform )
214
214
@sdk_build_version ||= begin
215
215
sdk_path = sdk ( platform )
216
- `xcodebuild -version -sdk '#{ sdk_path } ' ProductBuildVersion` . strip
216
+ `#{ locate_binary ( ' xcodebuild' ) } -version -sdk '#{ sdk_path } ' ProductBuildVersion` . strip
217
217
end
218
218
end
219
219
end
You can’t perform that action at this time.
0 commit comments