From 75656a022d34f74f9777d39f052f05583a06a3b3 Mon Sep 17 00:00:00 2001 From: Saagar Jha Date: Sat, 27 Jan 2024 03:32:14 -0800 Subject: [PATCH] Remove INFOPLIST_KEY_ITSAppUsesNonExemptEncryption Turns out it's not a thing, so use a plist key instead. (FB13562690) --- Configs/macOS.xcconfig | 2 +- Configs/visionOS.xcconfig | 1 - MacCast.xcodeproj/project.pbxproj | 2 ++ macOS/Info.plist | 8 ++++++++ visionOS/Info.plist | 2 ++ 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 macOS/Info.plist diff --git a/Configs/macOS.xcconfig b/Configs/macOS.xcconfig index 047afa1..ee63959 100644 --- a/Configs/macOS.xcconfig +++ b/Configs/macOS.xcconfig @@ -11,7 +11,7 @@ CODE_SIGN_STYLE = Automatic COMBINE_HIDPI_IMAGES = YES DEVELOPMENT_ASSET_PATHS = "macOS/Preview Content" ENABLE_HARDENED_RUNTIME = YES -INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO +INFOPLIST_FILE = $(TARGET_NAME)/Info.plist INFOPLIST_KEY_LSApplicationCategoryType = public.app-category.productivity LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks PRODUCT_BUNDLE_IDENTIFIER = com.saagarjha.MacCast diff --git a/Configs/visionOS.xcconfig b/Configs/visionOS.xcconfig index 6000edb..86136c2 100644 --- a/Configs/visionOS.xcconfig +++ b/Configs/visionOS.xcconfig @@ -8,7 +8,6 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon DEVELOPMENT_ASSET_PATHS = "visionOS/Preview Content" INFOPLIST_FILE = $(TARGET_NAME)/Info.plist -INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks PRODUCT_BUNDLE_IDENTIFIER = com.saagarjha.MacCast PRODUCT_NAME = Ensemble diff --git a/MacCast.xcodeproj/project.pbxproj b/MacCast.xcodeproj/project.pbxproj index a962e6c..4ad0358 100644 --- a/MacCast.xcodeproj/project.pbxproj +++ b/MacCast.xcodeproj/project.pbxproj @@ -64,6 +64,7 @@ 49226A322AE45D710044CFC9 /* RootWindowView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RootWindowView.swift; sourceTree = ""; }; 494DFBD02B29111C00205CAC /* Keys.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Keys.swift; sourceTree = ""; }; 495A8AB12B6478AE00520461 /* Bundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Bundle.swift; sourceTree = ""; }; + 495A8AB42B651F3D00520461 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 495E8E3A2AD5CE2400946419 /* ImageBufferView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageBufferView.swift; sourceTree = ""; }; 495E8E3C2AD5E6C500946419 /* SerializableConformances.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SerializableConformances.swift; sourceTree = ""; }; 4977168F2B29260A0048ED18 /* EventView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventView.swift; sourceTree = ""; }; @@ -152,6 +153,7 @@ isa = PBXGroup; children = ( 49E09B5F2AD2EE5100B56CD3 /* MacCast.entitlements */, + 495A8AB42B651F3D00520461 /* Info.plist */, 49E09B582AD2EE5000B56CD3 /* ContentView.swift */, 49EDAA6D2B28E58A00546EAB /* Events.swift */, 49E09BC62AD52CCE00B56CD3 /* Local.swift */, diff --git a/macOS/Info.plist b/macOS/Info.plist new file mode 100644 index 0000000..bc11256 --- /dev/null +++ b/macOS/Info.plist @@ -0,0 +1,8 @@ + + + + + ITSAppUsesNonExemptEncryption + + + diff --git a/visionOS/Info.plist b/visionOS/Info.plist index 20f75e2..c9cb2dd 100644 --- a/visionOS/Info.plist +++ b/visionOS/Info.plist @@ -2,6 +2,8 @@ + ITSAppUsesNonExemptEncryption + UIApplicationSceneManifest UIApplicationPreferredDefaultSceneSessionRole