Skip to content
Snippets Groups Projects
Commit 79b27299 authored by Cam Saul's avatar Cam Saul
Browse files

Tweak Mac App build script for Xcode 8

parent 4ef778da
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>developer-id</string>
<key>teamID</key>
<string>BR27ZJK7WW</string>
</dict>
</plist>
......@@ -21,6 +21,7 @@ Readonly my $release_notes => artifact('release-notes.html');
Readonly my $dmg => artifact('Metabase.dmg');
Readonly my $xcode_project => get_file_or_die('OSX/Metabase.xcodeproj');
Readonly my $export_options => get_file_or_die('OSX/exportOptions.plist');
# Get the version saved in the CFBundle, e.g. '0.11.3.1'
sub version {
......@@ -82,9 +83,9 @@ sub build {
# Ok, now create the Metabase.app artifact
system('xcodebuild',
'-exportArchive',
'-exportFormat', 'APP',
'-exportOptionsPlist', $export_options,
'-archivePath', $xcarchive,
'-exportPath', $app) == 0 or die $!;
'-exportPath', OSX_ARTIFACTS_DIR) == 0 or die $!;
# Ok, we can remove the .xcarchive file now
remove_tree($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