From 5b6dacd29c8f720d9ad071371210b9612a35bb4a Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 22 Jun 2022 22:54:32 -0700 Subject: [PATCH] Cog now requires macOS 10.13 as a minimum version All optional fallback code for older versions has also been removed, and everything now assumes 10.13.0 or newer. Some cases are still included for point releases, such as 10.13.2. Signed-off-by: Christopher Snowhill --- Audio/CogAudio.xcodeproj/project.pbxproj | 4 +- Cog.xcodeproj/project.pbxproj | 8 ++-- Equalizer/EqualizerWindowController.m | 4 +- FileTree/FileTreeDataSource.m | 6 +-- .../libAdPlug.xcodeproj/project.pbxproj | 4 +- .../Dumb/Dumb.xcodeproj/project.pbxproj | 4 +- .../File_Extractor.xcodeproj/project.pbxproj | 4 +- Frameworks/GME/GME.xcodeproj/project.pbxproj | 4 +- .../HighlyAdvanced.xcodeproj/project.pbxproj | 4 +- .../project.pbxproj | 4 +- .../HighlyQuixotic.xcodeproj/project.pbxproj | 4 +- .../project.pbxproj | 4 +- .../HivelyPlayer.xcodeproj/project.pbxproj | 4 +- .../MPCDec/MPCDec.xcodeproj/project.pbxproj | 4 +- .../libOpenMPTOld.xcodeproj/project.pbxproj | 4 +- .../SSEQPlayer.xcodeproj/project.pbxproj | 4 +- .../Shorten/Shorten.xcodeproj/project.pbxproj | 4 +- .../TagLib/TagLib.xcodeproj/project.pbxproj | 4 +- .../WavPack/WavPack.xcodeproj/project.pbxproj | 4 +- .../g719/g719.xcodeproj/project.pbxproj | 4 +- .../lazyusf/lazyusf.xcodeproj/project.pbxproj | 4 +- .../lazyusf2.xcodeproj/project.pbxproj | 4 +- .../libatrac9.xcodeproj/project.pbxproj | 4 +- .../libbinio.xcodeproj/project.pbxproj | 4 +- .../libcelt_0061.xcodeproj/project.pbxproj | 4 +- .../libcelt_0110.xcodeproj/project.pbxproj | 4 +- .../sidplayfp.xcodeproj/project.pbxproj | 4 +- .../mGBA/mGBA.xcodeproj/project.pbxproj | 4 +- .../midi_processing.xcodeproj/project.pbxproj | 4 +- .../modplay/modplay.xcodeproj/project.pbxproj | 4 +- .../mpg123/mpg123.xcodeproj/project.pbxproj | 4 +- .../munt/munt.xcodeproj/project.pbxproj | 4 +- .../playptmod.xcodeproj/project.pbxproj | 4 +- .../psflib/psflib.xcodeproj/project.pbxproj | 4 +- .../libvgmstream.xcodeproj/project.pbxproj | 4 +- .../vio2sf/vio2sf.xcodeproj/project.pbxproj | 4 +- Playlist/DNDArrayController.m | 8 +--- Playlist/PlaylistController.m | 28 +++--------- Playlist/PlaylistView.m | 44 +++++-------------- Plugins/APL/APL.xcodeproj/project.pbxproj | 4 +- .../AdPlug/AdPlug.xcodeproj/project.pbxproj | 4 +- .../ArchiveSource.xcodeproj/project.pbxproj | 4 +- .../BASSMODS.xcodeproj/project.pbxproj | 4 +- .../CoreAudio.xcodeproj/project.pbxproj | 4 +- .../CueSheet.xcodeproj/project.pbxproj | 4 +- Plugins/Dumb/Dumb.xcodeproj/project.pbxproj | 4 +- .../FFMPEG/FFMPEG.xcodeproj/project.pbxproj | 4 +- .../FileSource.xcodeproj/project.pbxproj | 4 +- Plugins/Flac/Flac.xcodeproj/project.pbxproj | 4 +- Plugins/GME/GME.xcodeproj/project.pbxproj | 4 +- .../HTTPSource.xcodeproj/project.pbxproj | 8 ++-- .../HighlyComplete.xcodeproj/project.pbxproj | 4 +- .../Hively/Hively.xcodeproj/project.pbxproj | 4 +- Plugins/M3u/M3u.xcodeproj/project.pbxproj | 4 +- Plugins/MAD/MAD.xcodeproj/project.pbxproj | 8 ++-- Plugins/MIDI/MIDI.xcodeproj/project.pbxproj | 4 +- .../Musepack.xcodeproj/project.pbxproj | 4 +- .../OpenMPTOld.xcodeproj/project.pbxproj | 4 +- .../Opus/OpusPlugin.xcodeproj/project.pbxproj | 4 +- Plugins/Pls/Pls.xcodeproj/project.pbxproj | 4 +- .../Shorten/Shorten.xcodeproj/project.pbxproj | 4 +- .../SilenceDecoder.xcodeproj/project.pbxproj | 4 +- .../TagLib/TagLib.xcodeproj/project.pbxproj | 4 +- .../VorbisPlugin.xcodeproj/project.pbxproj | 4 +- .../WavPack/WavPack.xcodeproj/project.pbxproj | 4 +- .../libvgmPlayer.xcodeproj/project.pbxproj | 4 +- .../modplay/modplay.xcodeproj/project.pbxproj | 4 +- .../playptmod.xcodeproj/project.pbxproj | 4 +- .../sidplay/sidplay.xcodeproj/project.pbxproj | 4 +- .../vgmstream.xcodeproj/project.pbxproj | 4 +- .../Preferences/ColorToValueTransformer.m | 23 +++------- .../Preferences.xcodeproj/project.pbxproj | 4 +- Preferences/PreferencesWindow.m | 2 +- Spotlight/SpotlightPlaylistController.m | 13 ++---- Visualization/SpectrumViewSK.m | 2 +- Window/MiniWindow.m | 44 +++---------------- Window/PlaybackButtons.m | 20 +++------ Window/VolumeSlider.m | 5 +-- 78 files changed, 184 insertions(+), 291 deletions(-) diff --git a/Audio/CogAudio.xcodeproj/project.pbxproj b/Audio/CogAudio.xcodeproj/project.pbxproj index 817c6e7e5..53f082a50 100644 --- a/Audio/CogAudio.xcodeproj/project.pbxproj +++ b/Audio/CogAudio.xcodeproj/project.pbxproj @@ -841,7 +841,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../build; @@ -883,7 +883,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../build; }; diff --git a/Cog.xcodeproj/project.pbxproj b/Cog.xcodeproj/project.pbxproj index da0bd2068..929599851 100644 --- a/Cog.xcodeproj/project.pbxproj +++ b/Cog.xcodeproj/project.pbxproj @@ -2972,7 +2972,7 @@ "$(inherited)", "$(PROJECT_DIR)/ThirdParty/avif/lib", ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OTHER_CFLAGS = ( "-D__MACOSX__", "-DHAVE_CONFIG_H", @@ -3024,7 +3024,7 @@ "$(inherited)", "$(PROJECT_DIR)/ThirdParty/avif/lib", ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OTHER_CFLAGS = ( "-D__MACOSX__", "-DHAVE_CONFIG_H", @@ -3086,7 +3086,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -3127,7 +3127,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; }; diff --git a/Equalizer/EqualizerWindowController.m b/Equalizer/EqualizerWindowController.m index c711b1311..9b2b1065d 100644 --- a/Equalizer/EqualizerWindowController.m +++ b/Equalizer/EqualizerWindowController.m @@ -326,9 +326,7 @@ void equalizerApplyPreset(AudioUnit au, const NSDictionary *preset) { @implementation EqualizerSlider - (void)awakeFromNib { - if(@available(macOS 10.12.2, *)) { - [self setTrackFillColor:[NSColor systemGrayColor]]; - } + [self setTrackFillColor:[NSColor systemGrayColor]]; } @end diff --git a/FileTree/FileTreeDataSource.m b/FileTree/FileTreeDataSource.m index 7bab9c3b1..03947eaf9 100644 --- a/FileTree/FileTreeDataSource.m +++ b/FileTree/FileTreeDataSource.m @@ -178,11 +178,7 @@ static NSURL *defaultMusicDirectory(void) { - (id)outlineView:(NSOutlineView *)outlineView pasteboardWriterForItem:(id)item { NSPasteboardItem *paste = [[NSPasteboardItem alloc] init]; - if(@available(macOS 10.13, *)) { - [paste setData:[[item URL] dataRepresentation] forType:NSPasteboardTypeFileURL]; - } else { - [paste setPropertyList:@[[item URL]] forType:NSFilenamesPboardType]; - } + [paste setData:[[item URL] dataRepresentation] forType:NSPasteboardTypeFileURL]; return paste; } diff --git a/Frameworks/AdPlug/libAdPlug.xcodeproj/project.pbxproj b/Frameworks/AdPlug/libAdPlug.xcodeproj/project.pbxproj index 5c2f9b8d9..74d75998f 100644 --- a/Frameworks/AdPlug/libAdPlug.xcodeproj/project.pbxproj +++ b/Frameworks/AdPlug/libAdPlug.xcodeproj/project.pbxproj @@ -742,7 +742,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -799,7 +799,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; VERSIONING_SYSTEM = "apple-generic"; diff --git a/Frameworks/Dumb/Dumb.xcodeproj/project.pbxproj b/Frameworks/Dumb/Dumb.xcodeproj/project.pbxproj index 2839d32b3..ceb969f3d 100644 --- a/Frameworks/Dumb/Dumb.xcodeproj/project.pbxproj +++ b/Frameworks/Dumb/Dumb.xcodeproj/project.pbxproj @@ -720,7 +720,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; ONLY_ACTIVE_ARCH = YES; PREBINDING = NO; @@ -762,7 +762,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; PREBINDING = NO; SDKROOT = macosx; diff --git a/Frameworks/File_Extractor/File_Extractor.xcodeproj/project.pbxproj b/Frameworks/File_Extractor/File_Extractor.xcodeproj/project.pbxproj index 18a70bc75..e586a4551 100644 --- a/Frameworks/File_Extractor/File_Extractor.xcodeproj/project.pbxproj +++ b/Frameworks/File_Extractor/File_Extractor.xcodeproj/project.pbxproj @@ -807,7 +807,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -856,7 +856,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/GME/GME.xcodeproj/project.pbxproj b/Frameworks/GME/GME.xcodeproj/project.pbxproj index 14a349c91..869c1777f 100644 --- a/Frameworks/GME/GME.xcodeproj/project.pbxproj +++ b/Frameworks/GME/GME.xcodeproj/project.pbxproj @@ -842,7 +842,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -886,7 +886,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; SDKROOT = macosx; SYMROOT = ../../build; diff --git a/Frameworks/HighlyAdvanced/HighlyAdvanced.xcodeproj/project.pbxproj b/Frameworks/HighlyAdvanced/HighlyAdvanced.xcodeproj/project.pbxproj index 1c808a0e7..6845bebdc 100644 --- a/Frameworks/HighlyAdvanced/HighlyAdvanced.xcodeproj/project.pbxproj +++ b/Frameworks/HighlyAdvanced/HighlyAdvanced.xcodeproj/project.pbxproj @@ -369,7 +369,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -417,7 +417,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/HighlyExperimental/HighlyExperimental.xcodeproj/project.pbxproj b/Frameworks/HighlyExperimental/HighlyExperimental.xcodeproj/project.pbxproj index c894a5b31..a922faa9d 100644 --- a/Frameworks/HighlyExperimental/HighlyExperimental.xcodeproj/project.pbxproj +++ b/Frameworks/HighlyExperimental/HighlyExperimental.xcodeproj/project.pbxproj @@ -307,7 +307,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; }; name = Debug; @@ -355,7 +355,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; }; name = Release; }; diff --git a/Frameworks/HighlyQuixotic/HighlyQuixotic.xcodeproj/project.pbxproj b/Frameworks/HighlyQuixotic/HighlyQuixotic.xcodeproj/project.pbxproj index 9d979fd25..bebc6772b 100644 --- a/Frameworks/HighlyQuixotic/HighlyQuixotic.xcodeproj/project.pbxproj +++ b/Frameworks/HighlyQuixotic/HighlyQuixotic.xcodeproj/project.pbxproj @@ -277,7 +277,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SKIP_INSTALL = YES; @@ -332,7 +332,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SKIP_INSTALL = YES; }; diff --git a/Frameworks/HighlyTheoretical/HighlyTheoretical.xcodeproj/project.pbxproj b/Frameworks/HighlyTheoretical/HighlyTheoretical.xcodeproj/project.pbxproj index 8c9ae1146..fcc9bcd7c 100644 --- a/Frameworks/HighlyTheoretical/HighlyTheoretical.xcodeproj/project.pbxproj +++ b/Frameworks/HighlyTheoretical/HighlyTheoretical.xcodeproj/project.pbxproj @@ -325,7 +325,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -382,7 +382,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/HivelyPlayer/HivelyPlayer.xcodeproj/project.pbxproj b/Frameworks/HivelyPlayer/HivelyPlayer.xcodeproj/project.pbxproj index 29e31e639..a236abc84 100644 --- a/Frameworks/HivelyPlayer/HivelyPlayer.xcodeproj/project.pbxproj +++ b/Frameworks/HivelyPlayer/HivelyPlayer.xcodeproj/project.pbxproj @@ -254,7 +254,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SKIP_INSTALL = YES; @@ -304,7 +304,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SKIP_INSTALL = YES; }; diff --git a/Frameworks/MPCDec/MPCDec.xcodeproj/project.pbxproj b/Frameworks/MPCDec/MPCDec.xcodeproj/project.pbxproj index a8f8d7197..99ea3a46e 100644 --- a/Frameworks/MPCDec/MPCDec.xcodeproj/project.pbxproj +++ b/Frameworks/MPCDec/MPCDec.xcodeproj/project.pbxproj @@ -402,7 +402,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -444,7 +444,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Frameworks/OpenMPT.old/libOpenMPTOld.xcodeproj/project.pbxproj b/Frameworks/OpenMPT.old/libOpenMPTOld.xcodeproj/project.pbxproj index e023b8697..86087edba 100644 --- a/Frameworks/OpenMPT.old/libOpenMPTOld.xcodeproj/project.pbxproj +++ b/Frameworks/OpenMPT.old/libOpenMPTOld.xcodeproj/project.pbxproj @@ -1412,7 +1412,7 @@ OpenMPT/include, OpenMPT/build/svn_version, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -1481,7 +1481,7 @@ OpenMPT/include, OpenMPT/build/svn_version, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; USE_HEADERMAP = YES; diff --git a/Frameworks/SSEQPlayer/SSEQPlayer.xcodeproj/project.pbxproj b/Frameworks/SSEQPlayer/SSEQPlayer.xcodeproj/project.pbxproj index 40b474c23..49ae68337 100644 --- a/Frameworks/SSEQPlayer/SSEQPlayer.xcodeproj/project.pbxproj +++ b/Frameworks/SSEQPlayer/SSEQPlayer.xcodeproj/project.pbxproj @@ -374,7 +374,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -422,7 +422,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/Shorten/Shorten.xcodeproj/project.pbxproj b/Frameworks/Shorten/Shorten.xcodeproj/project.pbxproj index a17c357e7..271a5529a 100644 --- a/Frameworks/Shorten/Shorten.xcodeproj/project.pbxproj +++ b/Frameworks/Shorten/Shorten.xcodeproj/project.pbxproj @@ -352,7 +352,7 @@ ../../include, include, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -401,7 +401,7 @@ ../../include, include, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Frameworks/TagLib/TagLib.xcodeproj/project.pbxproj b/Frameworks/TagLib/TagLib.xcodeproj/project.pbxproj index de48a13be..fff029000 100644 --- a/Frameworks/TagLib/TagLib.xcodeproj/project.pbxproj +++ b/Frameworks/TagLib/TagLib.xcodeproj/project.pbxproj @@ -1463,7 +1463,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = "-DHAVE_CONFIG_H"; SDKROOT = macosx; @@ -1509,7 +1509,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OTHER_CFLAGS = "-DHAVE_CONFIG_H"; SDKROOT = macosx; SKIP_INSTALL = YES; diff --git a/Frameworks/WavPack/WavPack.xcodeproj/project.pbxproj b/Frameworks/WavPack/WavPack.xcodeproj/project.pbxproj index 2e8171fea..a5808344b 100644 --- a/Frameworks/WavPack/WavPack.xcodeproj/project.pbxproj +++ b/Frameworks/WavPack/WavPack.xcodeproj/project.pbxproj @@ -463,7 +463,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -506,7 +506,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Frameworks/g719/g719.xcodeproj/project.pbxproj b/Frameworks/g719/g719.xcodeproj/project.pbxproj index 309c42b89..7e576d501 100644 --- a/Frameworks/g719/g719.xcodeproj/project.pbxproj +++ b/Frameworks/g719/g719.xcodeproj/project.pbxproj @@ -351,7 +351,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -403,7 +403,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; VERSIONING_SYSTEM = "apple-generic"; diff --git a/Frameworks/lazyusf/lazyusf.xcodeproj/project.pbxproj b/Frameworks/lazyusf/lazyusf.xcodeproj/project.pbxproj index 0aac47253..fc906ebf5 100644 --- a/Frameworks/lazyusf/lazyusf.xcodeproj/project.pbxproj +++ b/Frameworks/lazyusf/lazyusf.xcodeproj/project.pbxproj @@ -722,7 +722,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -767,7 +767,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.8; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/lazyusf2/lazyusf2.xcodeproj/project.pbxproj b/Frameworks/lazyusf2/lazyusf2.xcodeproj/project.pbxproj index e15fb083c..c83b3ef5e 100644 --- a/Frameworks/lazyusf2/lazyusf2.xcodeproj/project.pbxproj +++ b/Frameworks/lazyusf2/lazyusf2.xcodeproj/project.pbxproj @@ -1141,7 +1141,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -1190,7 +1190,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/libatrac9/libatrac9.xcodeproj/project.pbxproj b/Frameworks/libatrac9/libatrac9.xcodeproj/project.pbxproj index bd7673c87..3e59e16b0 100644 --- a/Frameworks/libatrac9/libatrac9.xcodeproj/project.pbxproj +++ b/Frameworks/libatrac9/libatrac9.xcodeproj/project.pbxproj @@ -299,7 +299,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -357,7 +357,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; diff --git a/Frameworks/libbinio/libbinio.xcodeproj/project.pbxproj b/Frameworks/libbinio/libbinio.xcodeproj/project.pbxproj index 7054c7b8d..3e349043f 100644 --- a/Frameworks/libbinio/libbinio.xcodeproj/project.pbxproj +++ b/Frameworks/libbinio/libbinio.xcodeproj/project.pbxproj @@ -232,7 +232,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -289,7 +289,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; VERSIONING_SYSTEM = "apple-generic"; diff --git a/Frameworks/libcelt_0061/libcelt_0061/libcelt_0061.xcodeproj/project.pbxproj b/Frameworks/libcelt_0061/libcelt_0061/libcelt_0061.xcodeproj/project.pbxproj index 4120ae1db..48506f00b 100644 --- a/Frameworks/libcelt_0061/libcelt_0061/libcelt_0061.xcodeproj/project.pbxproj +++ b/Frameworks/libcelt_0061/libcelt_0061/libcelt_0061.xcodeproj/project.pbxproj @@ -432,7 +432,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -531,7 +531,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; diff --git a/Frameworks/libcelt_0110/libcelt_0110/libcelt_0110.xcodeproj/project.pbxproj b/Frameworks/libcelt_0110/libcelt_0110/libcelt_0110.xcodeproj/project.pbxproj index 9c72c1119..446434d12 100644 --- a/Frameworks/libcelt_0110/libcelt_0110/libcelt_0110.xcodeproj/project.pbxproj +++ b/Frameworks/libcelt_0110/libcelt_0110/libcelt_0110.xcodeproj/project.pbxproj @@ -420,7 +420,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -519,7 +519,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; diff --git a/Frameworks/libsidplayfp/sidplayfp.xcodeproj/project.pbxproj b/Frameworks/libsidplayfp/sidplayfp.xcodeproj/project.pbxproj index 3f83a4b7c..3a22545bc 100644 --- a/Frameworks/libsidplayfp/sidplayfp.xcodeproj/project.pbxproj +++ b/Frameworks/libsidplayfp/sidplayfp.xcodeproj/project.pbxproj @@ -1311,7 +1311,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -1369,7 +1369,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; diff --git a/Frameworks/mGBA/mGBA.xcodeproj/project.pbxproj b/Frameworks/mGBA/mGBA.xcodeproj/project.pbxproj index 7600a3e17..1c7ce4bc4 100644 --- a/Frameworks/mGBA/mGBA.xcodeproj/project.pbxproj +++ b/Frameworks/mGBA/mGBA.xcodeproj/project.pbxproj @@ -1268,7 +1268,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -1324,7 +1324,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; VERSIONING_SYSTEM = "apple-generic"; diff --git a/Frameworks/midi_processing/midi_processing.xcodeproj/project.pbxproj b/Frameworks/midi_processing/midi_processing.xcodeproj/project.pbxproj index a8ee0b8fb..978a350b7 100644 --- a/Frameworks/midi_processing/midi_processing.xcodeproj/project.pbxproj +++ b/Frameworks/midi_processing/midi_processing.xcodeproj/project.pbxproj @@ -295,7 +295,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -345,7 +345,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/modplay/modplay.xcodeproj/project.pbxproj b/Frameworks/modplay/modplay.xcodeproj/project.pbxproj index 104b53300..5f2e068a7 100644 --- a/Frameworks/modplay/modplay.xcodeproj/project.pbxproj +++ b/Frameworks/modplay/modplay.xcodeproj/project.pbxproj @@ -261,7 +261,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; INSTALL_PATH = "@loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -306,7 +306,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; INSTALL_PATH = "@loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/mpg123/mpg123.xcodeproj/project.pbxproj b/Frameworks/mpg123/mpg123.xcodeproj/project.pbxproj index 30b49bf79..c47e425e8 100644 --- a/Frameworks/mpg123/mpg123.xcodeproj/project.pbxproj +++ b/Frameworks/mpg123/mpg123.xcodeproj/project.pbxproj @@ -454,7 +454,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; INSTALL_PATH = "@loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SKIP_INSTALL = YES; }; @@ -504,7 +504,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; INSTALL_PATH = "@loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SKIP_INSTALL = YES; }; name = Release; diff --git a/Frameworks/munt/munt.xcodeproj/project.pbxproj b/Frameworks/munt/munt.xcodeproj/project.pbxproj index 9c1a862c5..73cb5ef11 100644 --- a/Frameworks/munt/munt.xcodeproj/project.pbxproj +++ b/Frameworks/munt/munt.xcodeproj/project.pbxproj @@ -380,7 +380,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -419,7 +419,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; VERSIONING_SYSTEM = "apple-generic"; diff --git a/Frameworks/playptmod/playptmod.xcodeproj/project.pbxproj b/Frameworks/playptmod/playptmod.xcodeproj/project.pbxproj index 30b00c1c8..aef3ec1da 100644 --- a/Frameworks/playptmod/playptmod.xcodeproj/project.pbxproj +++ b/Frameworks/playptmod/playptmod.xcodeproj/project.pbxproj @@ -235,7 +235,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -279,7 +279,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/psflib/psflib.xcodeproj/project.pbxproj b/Frameworks/psflib/psflib.xcodeproj/project.pbxproj index e98b2f2c6..78e39f500 100644 --- a/Frameworks/psflib/psflib.xcodeproj/project.pbxproj +++ b/Frameworks/psflib/psflib.xcodeproj/project.pbxproj @@ -258,7 +258,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -306,7 +306,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj b/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj index 2a663288b..7522629ef 100644 --- a/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj +++ b/Frameworks/vgmstream/libvgmstream.xcodeproj/project.pbxproj @@ -3252,7 +3252,7 @@ ../../ThirdParty/speex, "../../ThirdParty/fdk-aac/lib", ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SKIP_INSTALL = YES; @@ -3328,7 +3328,7 @@ ../../ThirdParty/speex, "../../ThirdParty/fdk-aac/lib", ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SKIP_INSTALL = YES; }; diff --git a/Frameworks/vio2sf/vio2sf.xcodeproj/project.pbxproj b/Frameworks/vio2sf/vio2sf.xcodeproj/project.pbxproj index c6c011b2f..5aeb93319 100644 --- a/Frameworks/vio2sf/vio2sf.xcodeproj/project.pbxproj +++ b/Frameworks/vio2sf/vio2sf.xcodeproj/project.pbxproj @@ -424,7 +424,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -473,7 +473,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Playlist/DNDArrayController.m b/Playlist/DNDArrayController.m index 3841406b5..1bdb5255a 100644 --- a/Playlist/DNDArrayController.m +++ b/Playlist/DNDArrayController.m @@ -12,15 +12,9 @@ NSString *iTunesDropType = @"com.apple.tv.metadata"; - (void)awakeFromNib { [super awakeFromNib]; // register for drag and drop - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } [self.tableView registerForDraggedTypes:@[CogDNDIndexType, CogUrlsPboardType, - fileType, + NSPasteboardTypeFileURL, iTunesDropType]]; } diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 488c78ebf..ef3376f08 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -616,11 +616,7 @@ static void *playlistControllerContext = &playlistControllerContext; PlaylistEntry *song = [[self arrangedObjects] objectAtIndex:row]; [filenames addObject:[[song path] stringByExpandingTildeInPath]]; - if(@available(macOS 10.13, *)) { - [item setData:[song.url dataRepresentation] forType:NSPasteboardTypeFileURL]; - } else { - [item setPropertyList:@[song.url] forType:NSFilenamesPboardType]; - } + [item setData:[song.url dataRepresentation] forType:NSPasteboardTypeFileURL]; return item; } @@ -635,14 +631,8 @@ static void *playlistControllerContext = &playlistControllerContext; if(row < 0) row = 0; // Determine the type of object that was dropped - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } NSArray *supportedTypes = - @[CogUrlsPboardType, fileType, iTunesDropType]; + @[CogUrlsPboardType, NSPasteboardTypeFileURL, iTunesDropType]; NSPasteboard *pboard = [info draggingPasteboard]; NSString *bestType = [pboard availableTypeFromArray:supportedTypes]; @@ -658,14 +648,10 @@ static void *playlistControllerContext = &playlistControllerContext; fromData:data error:&error]; } else { - if(@available(macOS 10.13, *)) { - NSSet *allowed = [NSSet setWithArray:@[[NSArray class], [NSURL class]]]; - urls = [NSKeyedUnarchiver unarchivedObjectOfClasses:allowed - fromData:data - error:&error]; - } else { - urls = [NSUnarchiver unarchiveObjectWithData:data]; - } + NSSet *allowed = [NSSet setWithArray:@[[NSArray class], [NSURL class]]]; + urls = [NSKeyedUnarchiver unarchivedObjectOfClasses:allowed + fromData:data + error:&error]; } if(!urls) { DLog(@"%@", error); @@ -677,7 +663,7 @@ static void *playlistControllerContext = &playlistControllerContext; } // Get files from a normal file drop (such as from Finder) - if([bestType isEqualToString:fileType]) { + if([bestType isEqualToString:NSPasteboardTypeFileURL]) { NSArray *classes = @[[NSURL class]]; NSDictionary *options = @{}; NSArray *files = [pboard readObjectsForClasses:classes options:options]; diff --git a/Playlist/PlaylistView.m b/Playlist/PlaylistView.m index 41a6a8e16..010c0f908 100644 --- a/Playlist/PlaylistView.m +++ b/Playlist/PlaylistView.m @@ -230,14 +230,9 @@ [pboard writeObjects:@[[fileSpams componentsJoinedByString:@"\n"]]]; NSError *error; - NSData *data; - if(@available(macOS 10.13, *)) { - data = [NSKeyedArchiver archivedDataWithRootObject:selectedURLs - requiringSecureCoding:YES - error:&error]; - } else { - data = [NSArchiver archivedDataWithRootObject:selectedURLs]; - } + NSData *data = [NSKeyedArchiver archivedDataWithRootObject:selectedURLs + requiringSecureCoding:YES + error:&error]; if(!data) { DLog(@"Error: %@", error); @@ -278,13 +273,7 @@ - (IBAction)paste:(id)sender { // Determine the type of object that was dropped - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } - NSArray *supportedTypes = @[CogUrlsPboardType, fileType, iTunesDropType]; + NSArray *supportedTypes = @[CogUrlsPboardType, NSPasteboardTypeFileURL, iTunesDropType]; NSPasteboard *pboard = [NSPasteboard generalPasteboard]; NSPasteboardType bestType = [pboard availableTypeFromArray:supportedTypes]; #ifdef _DEBUG @@ -311,14 +300,10 @@ fromData:data error:&error]; } else { - if(@available(macOS 10.13, *)) { - NSSet *allowed = [NSSet setWithArray:@[[NSArray class], [NSURL class]]]; - urls = [NSKeyedUnarchiver unarchivedObjectOfClasses:allowed - fromData:data - error:&error]; - } else { - urls = [NSUnarchiver unarchiveObjectWithData:data]; - } + NSSet *allowed = [NSSet setWithArray:@[[NSArray class], [NSURL class]]]; + urls = [NSKeyedUnarchiver unarchivedObjectOfClasses:allowed + fromData:data + error:&error]; } if(!urls) { DLog(@"%@", error); @@ -330,10 +315,10 @@ } // Get files from a normal file drop (such as from Finder) - if([bestType isEqualToString:fileType]) { + if([bestType isEqualToString:NSPasteboardTypeFileURL]) { NSMutableArray *urls = [[NSMutableArray alloc] init]; - for(NSString *file in [pboard propertyListForType:fileType]) { + for(NSString *file in [pboard propertyListForType:NSPasteboardTypeFileURL]) { [urls addObject:[NSURL fileURLWithPath:file]]; } @@ -388,14 +373,7 @@ if(action == @selector(paste:)) { NSPasteboard *pboard = [NSPasteboard generalPasteboard]; - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } - - NSArray *supportedTypes = @[CogUrlsPboardType, fileType, iTunesDropType]; + NSArray *supportedTypes = @[CogUrlsPboardType, NSPasteboardTypeFileURL, iTunesDropType]; NSString *bestType = [pboard availableTypeFromArray:supportedTypes]; diff --git a/Plugins/APL/APL.xcodeproj/project.pbxproj b/Plugins/APL/APL.xcodeproj/project.pbxproj index b00ad0d59..d8bc99d80 100644 --- a/Plugins/APL/APL.xcodeproj/project.pbxproj +++ b/Plugins/APL/APL.xcodeproj/project.pbxproj @@ -240,7 +240,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -282,7 +282,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/AdPlug/AdPlug.xcodeproj/project.pbxproj b/Plugins/AdPlug/AdPlug.xcodeproj/project.pbxproj index 7e16bc95c..40850999e 100644 --- a/Plugins/AdPlug/AdPlug.xcodeproj/project.pbxproj +++ b/Plugins/AdPlug/AdPlug.xcodeproj/project.pbxproj @@ -304,7 +304,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -357,7 +357,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; diff --git a/Plugins/ArchiveSource/ArchiveSource.xcodeproj/project.pbxproj b/Plugins/ArchiveSource/ArchiveSource.xcodeproj/project.pbxproj index cd6facdb6..f08ccb06d 100644 --- a/Plugins/ArchiveSource/ArchiveSource.xcodeproj/project.pbxproj +++ b/Plugins/ArchiveSource/ArchiveSource.xcodeproj/project.pbxproj @@ -310,7 +310,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -359,7 +359,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Plugins/BASSMODS/BASSMODS.xcodeproj/project.pbxproj b/Plugins/BASSMODS/BASSMODS.xcodeproj/project.pbxproj index 8b287b933..09290560c 100644 --- a/Plugins/BASSMODS/BASSMODS.xcodeproj/project.pbxproj +++ b/Plugins/BASSMODS/BASSMODS.xcodeproj/project.pbxproj @@ -283,7 +283,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -328,7 +328,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Plugins/CoreAudio/CoreAudio.xcodeproj/project.pbxproj b/Plugins/CoreAudio/CoreAudio.xcodeproj/project.pbxproj index dfbb70726..c910e9369 100644 --- a/Plugins/CoreAudio/CoreAudio.xcodeproj/project.pbxproj +++ b/Plugins/CoreAudio/CoreAudio.xcodeproj/project.pbxproj @@ -283,7 +283,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -325,7 +325,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj b/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj index ef218b984..3d91ce7f9 100644 --- a/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj +++ b/Plugins/CueSheet/CueSheet.xcodeproj/project.pbxproj @@ -323,7 +323,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -365,7 +365,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/Dumb/Dumb.xcodeproj/project.pbxproj b/Plugins/Dumb/Dumb.xcodeproj/project.pbxproj index cf7917c6c..c344b5943 100644 --- a/Plugins/Dumb/Dumb.xcodeproj/project.pbxproj +++ b/Plugins/Dumb/Dumb.xcodeproj/project.pbxproj @@ -468,7 +468,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; ONLY_ACTIVE_ARCH = YES; PREBINDING = NO; @@ -507,7 +507,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; PREBINDING = NO; SDKROOT = macosx; diff --git a/Plugins/FFMPEG/FFMPEG.xcodeproj/project.pbxproj b/Plugins/FFMPEG/FFMPEG.xcodeproj/project.pbxproj index 4f796e268..b58333a80 100644 --- a/Plugins/FFMPEG/FFMPEG.xcodeproj/project.pbxproj +++ b/Plugins/FFMPEG/FFMPEG.xcodeproj/project.pbxproj @@ -364,7 +364,7 @@ ../../ThirdParty/ffmpeg/lib, "../../ThirdParty/fdk-aac/lib", ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -410,7 +410,7 @@ ../../ThirdParty/ffmpeg/lib, "../../ThirdParty/fdk-aac/lib", ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/FileSource/FileSource.xcodeproj/project.pbxproj b/Plugins/FileSource/FileSource.xcodeproj/project.pbxproj index 1093c6973..ef3c8c7da 100644 --- a/Plugins/FileSource/FileSource.xcodeproj/project.pbxproj +++ b/Plugins/FileSource/FileSource.xcodeproj/project.pbxproj @@ -328,7 +328,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -370,7 +370,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/Flac/Flac.xcodeproj/project.pbxproj b/Plugins/Flac/Flac.xcodeproj/project.pbxproj index f80015bad..71fbad867 100644 --- a/Plugins/Flac/Flac.xcodeproj/project.pbxproj +++ b/Plugins/Flac/Flac.xcodeproj/project.pbxproj @@ -312,7 +312,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -354,7 +354,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/GME/GME.xcodeproj/project.pbxproj b/Plugins/GME/GME.xcodeproj/project.pbxproj index 8db21ebb1..8835c0ef3 100644 --- a/Plugins/GME/GME.xcodeproj/project.pbxproj +++ b/Plugins/GME/GME.xcodeproj/project.pbxproj @@ -384,7 +384,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -427,7 +427,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; SDKROOT = macosx; SYMROOT = ../../build; diff --git a/Plugins/HTTPSource/HTTPSource.xcodeproj/project.pbxproj b/Plugins/HTTPSource/HTTPSource.xcodeproj/project.pbxproj index 9d98451af..f0901c514 100644 --- a/Plugins/HTTPSource/HTTPSource.xcodeproj/project.pbxproj +++ b/Plugins/HTTPSource/HTTPSource.xcodeproj/project.pbxproj @@ -238,7 +238,7 @@ GCC_PREFIX_HEADER = HTTPSource_Prefix.pch; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Library/Bundles"; - MACOSX_DEPLOYMENT_TARGET = 10.9; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = org.cogx.httpsource; PRODUCT_NAME = HTTPSource; SDKROOT = macosx; @@ -260,7 +260,7 @@ GCC_PREFIX_HEADER = HTTPSource_Prefix.pch; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Library/Bundles"; - MACOSX_DEPLOYMENT_TARGET = 10.9; + MACOSX_DEPLOYMENT_TARGET = 10.13; PRODUCT_BUNDLE_IDENTIFIER = org.cogx.httpsource; PRODUCT_NAME = HTTPSource; SDKROOT = macosx; @@ -306,7 +306,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -348,7 +348,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/HighlyComplete/HighlyComplete.xcodeproj/project.pbxproj b/Plugins/HighlyComplete/HighlyComplete.xcodeproj/project.pbxproj index c74ba6f02..7e043a8de 100644 --- a/Plugins/HighlyComplete/HighlyComplete.xcodeproj/project.pbxproj +++ b/Plugins/HighlyComplete/HighlyComplete.xcodeproj/project.pbxproj @@ -677,7 +677,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -725,7 +725,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Plugins/Hively/Hively.xcodeproj/project.pbxproj b/Plugins/Hively/Hively.xcodeproj/project.pbxproj index ef0ef2c6a..450de63be 100644 --- a/Plugins/Hively/Hively.xcodeproj/project.pbxproj +++ b/Plugins/Hively/Hively.xcodeproj/project.pbxproj @@ -330,7 +330,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SKIP_INSTALL = YES; @@ -380,7 +380,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SKIP_INSTALL = YES; }; diff --git a/Plugins/M3u/M3u.xcodeproj/project.pbxproj b/Plugins/M3u/M3u.xcodeproj/project.pbxproj index 85942bd77..97d14389b 100644 --- a/Plugins/M3u/M3u.xcodeproj/project.pbxproj +++ b/Plugins/M3u/M3u.xcodeproj/project.pbxproj @@ -298,7 +298,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -339,7 +339,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Plugins/MAD/MAD.xcodeproj/project.pbxproj b/Plugins/MAD/MAD.xcodeproj/project.pbxproj index 375dbab9d..c4a709fea 100644 --- a/Plugins/MAD/MAD.xcodeproj/project.pbxproj +++ b/Plugins/MAD/MAD.xcodeproj/project.pbxproj @@ -224,7 +224,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 12.1; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -279,7 +279,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 12.1; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; @@ -304,7 +304,7 @@ ../../ThirdParty/libmad/lib, ../../ThirdParty/libid3tag/lib, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = co.losno.MAD; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -332,7 +332,7 @@ ../../ThirdParty/libmad/lib, ../../ThirdParty/libid3tag/lib, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = co.losno.MAD; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Plugins/MIDI/MIDI.xcodeproj/project.pbxproj b/Plugins/MIDI/MIDI.xcodeproj/project.pbxproj index c369865aa..22fa0f4d5 100644 --- a/Plugins/MIDI/MIDI.xcodeproj/project.pbxproj +++ b/Plugins/MIDI/MIDI.xcodeproj/project.pbxproj @@ -543,7 +543,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -593,7 +593,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Plugins/Musepack/Musepack.xcodeproj/project.pbxproj b/Plugins/Musepack/Musepack.xcodeproj/project.pbxproj index 727a421ee..68873b85d 100644 --- a/Plugins/Musepack/Musepack.xcodeproj/project.pbxproj +++ b/Plugins/Musepack/Musepack.xcodeproj/project.pbxproj @@ -356,7 +356,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -398,7 +398,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/OpenMPT.old/OpenMPTOld.xcodeproj/project.pbxproj b/Plugins/OpenMPT.old/OpenMPTOld.xcodeproj/project.pbxproj index c56c11d0d..1477e856e 100644 --- a/Plugins/OpenMPT.old/OpenMPTOld.xcodeproj/project.pbxproj +++ b/Plugins/OpenMPT.old/OpenMPTOld.xcodeproj/project.pbxproj @@ -302,7 +302,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -355,7 +355,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; diff --git a/Plugins/Opus/OpusPlugin.xcodeproj/project.pbxproj b/Plugins/Opus/OpusPlugin.xcodeproj/project.pbxproj index 0d4a244a6..f5a034484 100644 --- a/Plugins/Opus/OpusPlugin.xcodeproj/project.pbxproj +++ b/Plugins/Opus/OpusPlugin.xcodeproj/project.pbxproj @@ -275,7 +275,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -325,7 +325,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Plugins/Pls/Pls.xcodeproj/project.pbxproj b/Plugins/Pls/Pls.xcodeproj/project.pbxproj index 725cc4994..c2dfc2f26 100644 --- a/Plugins/Pls/Pls.xcodeproj/project.pbxproj +++ b/Plugins/Pls/Pls.xcodeproj/project.pbxproj @@ -295,7 +295,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -336,7 +336,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Plugins/Shorten/Shorten.xcodeproj/project.pbxproj b/Plugins/Shorten/Shorten.xcodeproj/project.pbxproj index 3d360ef2f..a56558343 100644 --- a/Plugins/Shorten/Shorten.xcodeproj/project.pbxproj +++ b/Plugins/Shorten/Shorten.xcodeproj/project.pbxproj @@ -354,7 +354,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -396,7 +396,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/SilenceDecoder/SilenceDecoder.xcodeproj/project.pbxproj b/Plugins/SilenceDecoder/SilenceDecoder.xcodeproj/project.pbxproj index cd77ac5ee..bb202900a 100644 --- a/Plugins/SilenceDecoder/SilenceDecoder.xcodeproj/project.pbxproj +++ b/Plugins/SilenceDecoder/SilenceDecoder.xcodeproj/project.pbxproj @@ -211,7 +211,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -261,7 +261,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; diff --git a/Plugins/TagLib/TagLib.xcodeproj/project.pbxproj b/Plugins/TagLib/TagLib.xcodeproj/project.pbxproj index 0658d5205..b453f90aa 100644 --- a/Plugins/TagLib/TagLib.xcodeproj/project.pbxproj +++ b/Plugins/TagLib/TagLib.xcodeproj/project.pbxproj @@ -390,7 +390,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -433,7 +433,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/Vorbis/VorbisPlugin.xcodeproj/project.pbxproj b/Plugins/Vorbis/VorbisPlugin.xcodeproj/project.pbxproj index ad03c2a3d..c587130ee 100644 --- a/Plugins/Vorbis/VorbisPlugin.xcodeproj/project.pbxproj +++ b/Plugins/Vorbis/VorbisPlugin.xcodeproj/project.pbxproj @@ -375,7 +375,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -417,7 +417,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/WavPack/WavPack.xcodeproj/project.pbxproj b/Plugins/WavPack/WavPack.xcodeproj/project.pbxproj index 1d544134e..c31ea02c0 100644 --- a/Plugins/WavPack/WavPack.xcodeproj/project.pbxproj +++ b/Plugins/WavPack/WavPack.xcodeproj/project.pbxproj @@ -358,7 +358,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SYMROOT = ../../build; @@ -400,7 +400,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SYMROOT = ../../build; }; diff --git a/Plugins/libvgmPlayer/libvgmPlayer.xcodeproj/project.pbxproj b/Plugins/libvgmPlayer/libvgmPlayer.xcodeproj/project.pbxproj index 3f105443f..9e19fa74f 100644 --- a/Plugins/libvgmPlayer/libvgmPlayer.xcodeproj/project.pbxproj +++ b/Plugins/libvgmPlayer/libvgmPlayer.xcodeproj/project.pbxproj @@ -355,7 +355,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -398,7 +398,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OBJROOT = ../../build; SDKROOT = macosx; SYMROOT = ../../build; diff --git a/Plugins/modplay/modplay.xcodeproj/project.pbxproj b/Plugins/modplay/modplay.xcodeproj/project.pbxproj index 0945164e5..3ccfe0833 100644 --- a/Plugins/modplay/modplay.xcodeproj/project.pbxproj +++ b/Plugins/modplay/modplay.xcodeproj/project.pbxproj @@ -361,7 +361,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SKIP_INSTALL = YES; }; @@ -406,7 +406,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; SKIP_INSTALL = YES; }; name = Release; diff --git a/Plugins/playptmod/playptmod.xcodeproj/project.pbxproj b/Plugins/playptmod/playptmod.xcodeproj/project.pbxproj index 3e3253d8e..23aacda13 100644 --- a/Plugins/playptmod/playptmod.xcodeproj/project.pbxproj +++ b/Plugins/playptmod/playptmod.xcodeproj/project.pbxproj @@ -370,7 +370,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; SKIP_INSTALL = YES; @@ -416,7 +416,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; SKIP_INSTALL = YES; }; diff --git a/Plugins/sidplay/sidplay.xcodeproj/project.pbxproj b/Plugins/sidplay/sidplay.xcodeproj/project.pbxproj index d233822ae..60954d4e9 100644 --- a/Plugins/sidplay/sidplay.xcodeproj/project.pbxproj +++ b/Plugins/sidplay/sidplay.xcodeproj/project.pbxproj @@ -284,7 +284,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -334,7 +334,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; }; diff --git a/Plugins/vgmstream/vgmstream.xcodeproj/project.pbxproj b/Plugins/vgmstream/vgmstream.xcodeproj/project.pbxproj index 19ea06266..e9b02c89f 100644 --- a/Plugins/vgmstream/vgmstream.xcodeproj/project.pbxproj +++ b/Plugins/vgmstream/vgmstream.xcodeproj/project.pbxproj @@ -358,7 +358,7 @@ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, ../Vorbis/include, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; @@ -423,7 +423,7 @@ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, ../Vorbis/include, ); - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; SDKROOT = macosx; }; name = Release; diff --git a/Preferences/Preferences/ColorToValueTransformer.m b/Preferences/Preferences/ColorToValueTransformer.m index 782835719..4042ae7a0 100644 --- a/Preferences/Preferences/ColorToValueTransformer.m +++ b/Preferences/Preferences/ColorToValueTransformer.m @@ -21,14 +21,9 @@ if(value == nil) return nil; NSError *error; - NSData *data; - if(@available(macOS 10.13, *)) { - data = [NSKeyedArchiver archivedDataWithRootObject:value - requiringSecureCoding:YES - error:&error]; - } else { - data = [NSArchiver archivedDataWithRootObject:value]; - } + NSData *data = [NSKeyedArchiver archivedDataWithRootObject:value + requiringSecureCoding:YES + error:&error]; return data; } @@ -44,14 +39,10 @@ fromData:value error:&error]; } else { - if(@available(macOS 10.13, *)) { - NSSet *allowed = [NSSet setWithArray:@[[NSColor class]]]; - color = (NSColor *)[NSKeyedUnarchiver unarchivedObjectOfClasses:allowed - fromData:value - error:&error]; - } else { - color = (NSColor *)[NSUnarchiver unarchiveObjectWithData:value]; - } + NSSet *allowed = [NSSet setWithArray:@[[NSColor class]]]; + color = (NSColor *)[NSKeyedUnarchiver unarchivedObjectOfClasses:allowed + fromData:value + error:&error]; } return color; diff --git a/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj b/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj index bad4342d7..f43325c0c 100644 --- a/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj +++ b/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj @@ -611,7 +611,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "-undefined", @@ -657,7 +657,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; + MACOSX_DEPLOYMENT_TARGET = 10.13; OTHER_LDFLAGS = ( "-undefined", dynamic_lookup, diff --git a/Preferences/PreferencesWindow.m b/Preferences/PreferencesWindow.m index e3b76ae2d..c46e4151a 100644 --- a/Preferences/PreferencesWindow.m +++ b/Preferences/PreferencesWindow.m @@ -45,7 +45,7 @@ [self setTitle:NSLocalizedString(@"PreferencesTitle", @"")]; [self center]; - if(@available(macOS 11, *)) { + if(@available(macOS 11.0, *)) { [self setToolbarStyle:NSWindowToolbarStylePreference]; } diff --git a/Spotlight/SpotlightPlaylistController.m b/Spotlight/SpotlightPlaylistController.m index f7b23de5f..647e54f53 100644 --- a/Spotlight/SpotlightPlaylistController.m +++ b/Spotlight/SpotlightPlaylistController.m @@ -19,15 +19,10 @@ writeRowsWithIndexes:(NSIndexSet *)rowIndexes NSArray *urls = [[self selectedObjects] valueForKey:@"URL"]; NSError *error = nil; - NSData *data; - if(@available(macOS 10.13, *)) { - data = [NSKeyedArchiver archivedDataWithRootObject:urls - requiringSecureCoding:YES - error:&error]; - if(error) return NO; - } else { - data = [NSArchiver archivedDataWithRootObject:urls]; - } + NSData *data = [NSKeyedArchiver archivedDataWithRootObject:urls + requiringSecureCoding:YES + error:&error]; + if(error) return NO; [pboard declareTypes:@[CogUrlsPboardType] owner:nil]; // add it to pboard [pboard setData:data forType:CogUrlsPboardType]; diff --git a/Visualization/SpectrumViewSK.m b/Visualization/SpectrumViewSK.m index 8f8956d6a..a00771873 100644 --- a/Visualization/SpectrumViewSK.m +++ b/Visualization/SpectrumViewSK.m @@ -49,7 +49,7 @@ extern NSString *CogPlaybackDidStopNotficiation; + (SpectrumViewSK *)createGuardWithFrame:(NSRect)frame { do { - if(@available(macOS 11, *)) { + if(@available(macOS 11.0, *)) { // macOS 11 and newer seems to be safe break; } else if(@available(macOS 10.15, *)) { diff --git a/Window/MiniWindow.m b/Window/MiniWindow.m index c92c0548f..d596e91f3 100644 --- a/Window/MiniWindow.m +++ b/Window/MiniWindow.m @@ -41,13 +41,7 @@ extern void showCrashlyticsConsent(NSWindow *window); [self showHDCDLogo:NO]; - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } - [self registerForDraggedTypes:@[fileType, iTunesDropType]]; + [self registerForDraggedTypes:@[NSPasteboardTypeFileURL, iTunesDropType]]; if([[NSUserDefaults standardUserDefaults] boolForKey:@"miniMode"]) { showCrashlyticsConsent(self); @@ -117,20 +111,13 @@ extern void showCrashlyticsConsent(NSWindow *window); NSPasteboard *pboard = [sender draggingPasteboard]; NSDragOperation sourceDragMask = [sender draggingSourceOperationMask]; - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } - if([[pboard types] containsObject:iTunesDropType]) { if(sourceDragMask & NSDragOperationGeneric) { return NSDragOperationGeneric; } } - if([[pboard types] containsObject:fileType]) { + if([[pboard types] containsObject:NSPasteboardTypeFileURL]) { if(sourceDragMask & NSDragOperationGeneric) { return NSDragOperationGeneric; } @@ -143,20 +130,13 @@ extern void showCrashlyticsConsent(NSWindow *window); NSPasteboard *pboard = [sender draggingPasteboard]; NSDragOperation sourceDragMask = [sender draggingSourceOperationMask]; - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } - if([[pboard types] containsObject:iTunesDropType]) { if(sourceDragMask & NSDragOperationGeneric) { return NSDragOperationGeneric; } } - if([[pboard types] containsObject:fileType]) { + if([[pboard types] containsObject:NSPasteboardTypeFileURL]) { if(sourceDragMask & NSDragOperationGeneric) { return NSDragOperationGeneric; } @@ -169,20 +149,13 @@ extern void showCrashlyticsConsent(NSWindow *window); NSPasteboard *pboard = [sender draggingPasteboard]; NSDragOperation sourceDragMask = [sender draggingSourceOperationMask]; - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } - if([[pboard types] containsObject:iTunesDropType]) { if(sourceDragMask & NSDragOperationGeneric) { return YES; } } - if([[pboard types] containsObject:fileType]) { + if([[pboard types] containsObject:NSPasteboardTypeFileURL]) { if(sourceDragMask & NSDragOperationGeneric) { return YES; } @@ -194,15 +167,8 @@ extern void showCrashlyticsConsent(NSWindow *window); - (BOOL)performDragOperation:(id)sender { NSPasteboard *pboard = [sender draggingPasteboard]; - NSPasteboardType fileType; - if(@available(macOS 10.13, *)) { - fileType = NSPasteboardTypeFileURL; - } else { - fileType = NSFilenamesPboardType; - } - if([[pboard types] containsObject:iTunesDropType] || - [[pboard types] containsObject:fileType]) { + [[pboard types] containsObject:NSPasteboardTypeFileURL]) { NSUInteger row = [[playlistController arrangedObjects] count]; return [playlistController tableView:[playlistController tableView] acceptDrop:sender row:row dropOperation:NSTableViewDropOn]; } diff --git a/Window/PlaybackButtons.m b/Window/PlaybackButtons.m index 9dc66956c..320388180 100644 --- a/Window/PlaybackButtons.m +++ b/Window/PlaybackButtons.m @@ -46,16 +46,12 @@ static NSString *PlaybackButtonsPlaybackStatusObservationContext = @"PlaybackBut [self setSegmentCount:4]; [self setImage:stopImage forSegment:2]; [self setImage:nextImage forSegment:3]; - if(@available(macOS 10.13, *)) { - [self setToolTip:NSLocalizedString(@"StopButtonTooltip", @"") forSegment:2]; - [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:3]; - } + [self setToolTip:NSLocalizedString(@"StopButtonTooltip", @"") forSegment:2]; + [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:3]; } else { [self setSegmentCount:3]; [self setImage:nextImage forSegment:2]; - if(@available(macOS 10.13, *)) { - [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:2]; - } + [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:2]; } } @@ -89,16 +85,12 @@ static NSString *PlaybackButtonsPlaybackStatusObservationContext = @"PlaybackBut [self setSegmentCount:4]; [self setImage:stopImage forSegment:2]; [self setImage:nextImage forSegment:3]; - if(@available(macOS 10.13, *)) { - [self setToolTip:NSLocalizedString(@"StopButtonTooltip", @"") forSegment:2]; - [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:3]; - } + [self setToolTip:NSLocalizedString(@"StopButtonTooltip", @"") forSegment:2]; + [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:3]; } else { [self setSegmentCount:3]; [self setImage:nextImage forSegment:2]; - if(@available(macOS 10.13, *)) { - [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:2]; - } + [self setToolTip:NSLocalizedString(@"NextButtonTooltip", @"") forSegment:2]; } } } else { diff --git a/Window/VolumeSlider.m b/Window/VolumeSlider.m index 3c815d0bb..a2a489afd 100644 --- a/Window/VolumeSlider.m +++ b/Window/VolumeSlider.m @@ -147,10 +147,7 @@ static void *kVolumeSliderContext = &kVolumeSliderContext; if(fabs(snapProgress) < 0.005) { [self setDoubleValue:snapTarget]; if(!wasInsideSnapRange) { - if(@available(macOS 10.11, *)) { - [[NSHapticFeedbackManager defaultPerformer] performFeedbackPattern:NSHapticFeedbackPatternGeneric - performanceTime:NSHapticFeedbackPerformanceTimeDefault]; - } + [[NSHapticFeedbackManager defaultPerformer] performFeedbackPattern:NSHapticFeedbackPatternGeneric performanceTime:NSHapticFeedbackPerformanceTimeDefault]; } wasInsideSnapRange = YES; } else {