diff --git a/Magic Drumpad.xcodeproj/project.pbxproj b/Magic Drumpad.xcodeproj/project.pbxproj
index 418d378..5edca21 100644
--- a/Magic Drumpad.xcodeproj/project.pbxproj
+++ b/Magic Drumpad.xcodeproj/project.pbxproj
@@ -207,8 +207,11 @@
CreatedOnToolsVersion = 9.0;
LastSwiftMigration = 1000;
SystemCapabilities = {
+ com.apple.HardenedRuntime = {
+ enabled = 1;
+ };
com.apple.Sandbox = {
- enabled = 0;
+ enabled = 1;
};
};
};
@@ -440,8 +443,10 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_ENTITLEMENTS = "Magic Drumpad/Magic Drumpad.entitlements";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 7TD9A665TC;
+ ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "Magic Drumpad/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.12;
@@ -456,8 +461,10 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_ENTITLEMENTS = "Magic Drumpad/Magic Drumpad.entitlements";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 7TD9A665TC;
+ ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "Magic Drumpad/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.12;
diff --git a/Magic Drumpad/Info.plist b/Magic Drumpad/Info.plist
index 7f43860..668050c 100644
--- a/Magic Drumpad/Info.plist
+++ b/Magic Drumpad/Info.plist
@@ -17,9 +17,9 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.1.1
+ 1.2
CFBundleVersion
- 7
+ 8
LSApplicationCategoryType
public.app-category.music
LSMinimumSystemVersion
diff --git a/Magic Drumpad/Magic Drumpad.entitlements b/Magic Drumpad/Magic Drumpad.entitlements
index 0c67376..852fa1a 100644
--- a/Magic Drumpad/Magic Drumpad.entitlements
+++ b/Magic Drumpad/Magic Drumpad.entitlements
@@ -1,5 +1,8 @@
-
+
+ com.apple.security.app-sandbox
+
+
diff --git a/Magic Drumpad/Player.swift b/Magic Drumpad/Player.swift
index 27f4781..a6478e4 100644
--- a/Magic Drumpad/Player.swift
+++ b/Magic Drumpad/Player.swift
@@ -39,7 +39,7 @@ class MidiPlayer: Player {
}
func play() {
- try! sender.sendNoteOnMessage(noteNumber: note, velocity: 120)
+ try! sender.sendNoteOnMessage(noteNumber: note, velocity: 127)
}
func stop() {