Skip to content

Commit

Permalink
Add a premake message when Xcode command line tools isn't installed
Browse files Browse the repository at this point in the history
Diffs=
949c70600 Add a premake message when Xcode command line tools isn't installed (#7756)

Co-authored-by: Chris Dalton <[email protected]>
  • Loading branch information
csmartdalton and csmartdalton committed Aug 5, 2024
1 parent 62025f9 commit 33d096e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4bf7c75453f0fc3fec1519a9a3dfe7a4ed63a054
949c70600a6c30bfe3ef6e59685235407af1a323
7 changes: 7 additions & 0 deletions build/rive_build_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,14 @@ filter({})

if os.host() == 'macosx' then
iphoneos_sysroot = os.outputof('xcrun --sdk iphoneos --show-sdk-path')
if iphoneos_sysroot == nil then
error('Unable to locate iphoneos sdk. Please ensure Xcode Command Line Tools are installed.')
end

iphonesimulator_sysroot = os.outputof('xcrun --sdk iphonesimulator --show-sdk-path')
if iphonesimulator_sysroot == nil then
error('Unable to locate iphonesimulator sdk. Please ensure Xcode Command Line Tools are installed.')
end

filter('system:ios')
do
Expand Down

0 comments on commit 33d096e

Please sign in to comment.