Skip to content
Snippets Groups Projects
Unverified Commit b4e059dd authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

Merge pull request #9936 from metabase/support-xcode-10

Support building Mac App with Xcode 10
parents 29720d70 fae340b2
No related merge requests found
......@@ -59,7 +59,7 @@ sub bump_version {
}
sub clean {
system('xcodebuild', 'clean', '-project', $xcode_project) == 0 or die $!;
system('xcodebuild', '-UseNewBuildSystem=NO', 'clean', '-project', $xcode_project) == 0 or die $!;
remove_tree(OSX_ARTIFACTS_DIR);
}
......@@ -74,6 +74,7 @@ sub build {
# Build the project and generate Metabase.xcarchive
system('xcodebuild',
'-UseNewBuildSystem=NO',
'-project', $xcode_project,
'-scheme', 'Metabase',
'-configuration', 'Release',
......@@ -82,6 +83,7 @@ sub build {
# Ok, now create the Metabase.app artifact
system('xcodebuild',
'-UseNewBuildSystem=NO',
'-exportArchive',
'-exportOptionsPlist', $export_options,
'-archivePath', $xcarchive,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment