From 8a5c1a80d1c7cd490ea3069a4aacbdabbd94ffe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sun, 23 Jul 2023 08:49:47 +0800 Subject: [PATCH] Make app store happy --- SFM/MenuView.swift | 2 +- sing-box.xcodeproj/project.pbxproj | 39 ++++++++++--------- .../xcschemes/xcschememanagement.plist | 29 ++++++++------ 3 files changed, 38 insertions(+), 32 deletions(-) diff --git a/SFM/MenuView.swift b/SFM/MenuView.swift index cf9bcc3..fff44ea 100644 --- a/SFM/MenuView.swift +++ b/SFM/MenuView.swift @@ -52,7 +52,7 @@ struct MenuView: View { MenuCommand { NSApp.terminate(nil) } label: { - Text("Exit") + Text("Quit") } } } diff --git a/sing-box.xcodeproj/project.pbxproj b/sing-box.xcodeproj/project.pbxproj index 2853f17..3840814 100644 --- a/sing-box.xcodeproj/project.pbxproj +++ b/sing-box.xcodeproj/project.pbxproj @@ -296,6 +296,7 @@ 3AAB5E732A4BF90B009757F1 /* ServiceLogView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServiceLogView.swift; sourceTree = ""; }; 3AAB5E752A4BFB0B009757F1 /* EditProfileContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EditProfileContentView.swift; sourceTree = ""; }; 3AAB5E7A2A4C1446009757F1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 3ABA46D22A6A32A100D8366B /* Messages.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Messages.framework; path = Library/Frameworks/Messages.framework; sourceTree = DEVELOPER_DIR; }; 3AC1944C2A50206C00BD8CB9 /* ServiceNotification.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServiceNotification.swift; sourceTree = ""; }; 3AC1944E2A50247300BD8CB9 /* ApplicationDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ApplicationDelegate.swift; sourceTree = ""; }; 3AC194512A50303300BD8CB9 /* ApplicationDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ApplicationDelegate.swift; sourceTree = ""; }; @@ -309,10 +310,10 @@ 3ADF8E022A4B118700900CC8 /* Binding+Unwrap.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Binding+Unwrap.swift"; sourceTree = ""; }; 3AEAEE9C2A4F1A9D0059612D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 3AEC20DB2A4599D000A63465 /* Libbox.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = Libbox.xcframework; sourceTree = ""; }; - 3AEC20F32A459AB400A63465 /* SFI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SFI.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 3AEC20F32A459AB400A63465 /* sing-box.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "sing-box.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 3AEC20F52A459AB400A63465 /* Application.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Application.swift; sourceTree = ""; }; 3AEC20F92A459AB500A63465 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 3AEC21092A459B1900A63465 /* sing-box β.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "sing-box β.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3AEC21092A459B1900A63465 /* sing-box.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "sing-box.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 3AEC210B2A459B1900A63465 /* Application.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Application.swift; sourceTree = ""; }; 3AEC210D2A459B1900A63465 /* MainView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainView.swift; sourceTree = ""; }; 3AEC210F2A459B1A00A63465 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -502,8 +503,8 @@ 3AEC20C72A45991900A63465 /* Products */ = { isa = PBXGroup; children = ( - 3AEC20F32A459AB400A63465 /* SFI.app */, - 3AEC21092A459B1900A63465 /* sing-box β.app */, + 3AEC20F32A459AB400A63465 /* sing-box.app */, + 3AEC21092A459B1900A63465 /* sing-box.app */, 3AEC211D2A459B4700A63465 /* Library.framework */, 3A77016D2A4E6B34008F031F /* IntentsExtension.appex */, 3A096F862A4ED3DE00D4A2ED /* Extension.appex */, @@ -532,6 +533,7 @@ 3A3DEBE62A4FFA6000373BF4 /* AppIntents.framework */, 3A3DEBE12A4FFA1A00373BF4 /* ExtensionFoundation.framework */, 3AF342B12A4AA520002B34AC /* NetworkExtension.framework */, + 3ABA46D22A6A32A100D8366B /* Messages.framework */, ); name = Frameworks; sourceTree = ""; @@ -733,7 +735,7 @@ packageProductDependencies = ( ); productName = SFI; - productReference = 3AEC20F32A459AB400A63465 /* SFI.app */; + productReference = 3AEC20F32A459AB400A63465 /* sing-box.app */; productType = "com.apple.product-type.application"; }; 3AEC21082A459B1900A63465 /* SFM */ = { @@ -761,7 +763,7 @@ 3A57DF3B2A4D705000690BC5 /* MacControlCenterUI */, ); productName = SFM; - productReference = 3AEC21092A459B1900A63465 /* sing-box β.app */; + productReference = 3AEC21092A459B1900A63465 /* sing-box.app */; productType = "com.apple.product-type.application"; }; 3AEC211C2A459B4700A63465 /* Library */ = { @@ -1423,7 +1425,7 @@ ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = SFI/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = "sing-box β"; + INFOPLIST_KEY_CFBundleDisplayName = "sing-box"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -1435,12 +1437,11 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.3.1; + MARKETING_VERSION = 1.3.2; OTHER_CODE_SIGN_FLAGS = "--deep"; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = io.nekohasekai.sfa; - PRODUCT_MODULE_NAME = SFI; - PRODUCT_NAME = SFI; + PRODUCT_NAME = "sing-box"; PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; SWIFT_EMIT_LOC_STRINGS = NO; @@ -1465,7 +1466,7 @@ ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = SFI/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = "sing-box β"; + INFOPLIST_KEY_CFBundleDisplayName = "sing-box"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -1477,11 +1478,11 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.3.1; + MARKETING_VERSION = 1.3.2; OTHER_CODE_SIGN_FLAGS = "--deep"; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = io.nekohasekai.sfa; - PRODUCT_NAME = "$(TARGET_NAME)"; + PRODUCT_NAME = "sing-box"; PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; SWIFT_EMIT_LOC_STRINGS = NO; @@ -1501,7 +1502,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 10; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = Z56Z6NYZN2; ENABLE_HARDENED_RUNTIME = YES; @@ -1517,10 +1518,10 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 1.3.1; + MARKETING_VERSION = 1.3.2; OTHER_CODE_SIGN_FLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = io.nekohasekai.sfa; - PRODUCT_NAME = "sing-box β"; + PRODUCT_NAME = "sing-box"; PROVISIONING_PROFILE_SPECIFIER = ""; REEXPORTED_LIBRARY_PATHS = ""; SDKROOT = macosx; @@ -1539,7 +1540,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 1; + CURRENT_PROJECT_VERSION = 10; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = Z56Z6NYZN2; ENABLE_HARDENED_RUNTIME = YES; @@ -1555,10 +1556,10 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 1.3.1; + MARKETING_VERSION = 1.3.2; OTHER_CODE_SIGN_FLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = io.nekohasekai.sfa; - PRODUCT_NAME = "sing-box β"; + PRODUCT_NAME = "sing-box"; PROVISIONING_PROFILE_SPECIFIER = ""; REEXPORTED_LIBRARY_PATHS = ""; SDKROOT = macosx; diff --git a/sing-box.xcodeproj/xcuserdata/sekai.xcuserdatad/xcschemes/xcschememanagement.plist b/sing-box.xcodeproj/xcuserdata/sekai.xcuserdatad/xcschemes/xcschememanagement.plist index af35d17..a0900b0 100644 --- a/sing-box.xcodeproj/xcuserdata/sekai.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/sing-box.xcodeproj/xcuserdata/sekai.xcuserdatad/xcschemes/xcschememanagement.plist @@ -14,14 +14,14 @@ isShown orderHint - 8 + 5 Associations (Playground) 2.xcscheme isShown orderHint - 9 + 6 Associations (Playground) 3.xcscheme @@ -49,7 +49,7 @@ isShown orderHint - 7 + 4 ExtensionMac.xcscheme_^#shared#^_ @@ -66,19 +66,24 @@ orderHint 5 + MessageExtension.xcscheme_^#shared#^_ + + orderHint + 16 + MyPlayground (Playground) 1.xcscheme isShown orderHint - 4 + 11 MyPlayground (Playground) 2.xcscheme isShown orderHint - 6 + 12 MyPlayground (Playground) 3.xcscheme @@ -106,7 +111,7 @@ isShown orderHint - 3 + 10 SFA.xcscheme_^#shared#^_ @@ -138,14 +143,14 @@ isShown orderHint - 15 + 8 Tour (Playground) 2.xcscheme isShown orderHint - 17 + 9 Tour (Playground) 3.xcscheme @@ -173,21 +178,21 @@ isShown orderHint - 14 + 7 TransactionObserver (Playground) 1.xcscheme isShown orderHint - 12 + 14 TransactionObserver (Playground) 2.xcscheme isShown orderHint - 13 + 15 TransactionObserver (Playground) 3.xcscheme @@ -215,7 +220,7 @@ isShown orderHint - 11 + 13 mactest.xcscheme_^#shared#^_