Skip to content

Commit

Permalink
修复上传到App Store的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
nookery committed Dec 25, 2023
1 parent abf31ed commit b78aae3
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Extension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>11</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
24 changes: 20 additions & 4 deletions TravelMode.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
0B3399382B39277B005CC627 /* EventList.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B3399372B39277B005CC627 /* EventList.swift */; };
0B33993A2B392B20005CC627 /* FilterStatus.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B3399392B392B20005CC627 /* FilterStatus.swift */; };
0B33993C2B39334E005CC627 /* FirewallAllowEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B33993B2B39334E005CC627 /* FirewallAllowEvent.swift */; };
0B408A2C2B395A77000E77DB /* NEFilterFlowExt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B408A2B2B395A77000E77DB /* NEFilterFlowExt.swift */; };
C40A5C46229DD6A500627D50 /* NetworkExtension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C4B45DDD2273A3450050C59B /* NetworkExtension.framework */; };
C40A5C4B229DD6A500627D50 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = C40A5C4A229DD6A500627D50 /* main.swift */; };
C40A5C50229DD6A500627D50 /* com.yueyi.TravelMode.Extension.systemextension in Embed System Extensions */ = {isa = PBXBuildFile; fileRef = C40A5C45229DD6A500627D50 /* com.yueyi.TravelMode.Extension.systemextension */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
Expand Down Expand Up @@ -61,6 +62,7 @@
0B3399372B39277B005CC627 /* EventList.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventList.swift; sourceTree = "<group>"; };
0B3399392B392B20005CC627 /* FilterStatus.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FilterStatus.swift; sourceTree = "<group>"; };
0B33993B2B39334E005CC627 /* FirewallAllowEvent.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirewallAllowEvent.swift; sourceTree = "<group>"; };
0B408A2B2B395A77000E77DB /* NEFilterFlowExt.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NEFilterFlowExt.swift; sourceTree = "<group>"; };
0B5B1CA72B385BF30002421E /* TravelModeApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TravelModeApp.swift; sourceTree = "<group>"; };
0B5B1CA92B385BF30002421E /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
0B5B1CBF2B3865F90002421E /* Channel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Channel.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -137,6 +139,14 @@
path = View;
sourceTree = "<group>";
};
0B408A2A2B395A68000E77DB /* Helpers */ = {
isa = PBXGroup;
children = (
0B408A2B2B395A77000E77DB /* NEFilterFlowExt.swift */,
);
path = Helpers;
sourceTree = "<group>";
};
6ED613506ED6B88000000001 /* Configuration */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -182,6 +192,7 @@
children = (
0B3399312B39160B005CC627 /* Bootstrap */,
0B33992B2B3911D9005CC627 /* Event */,
0B408A2A2B395A68000E77DB /* Helpers */,
0B3399342B3916B2005CC627 /* View */,
0B3399282B390D30005CC627 /* ViewModel */,
C4B45DBC2273A0020050C59B /* Assets.xcassets */,
Expand Down Expand Up @@ -312,6 +323,7 @@
files = (
0B33993A2B392B20005CC627 /* FilterStatus.swift in Sources */,
0B33992D2B3911F1005CC627 /* FirewallEvent.swift in Sources */,
0B408A2C2B395A77000E77DB /* NEFilterFlowExt.swift in Sources */,
C4B1415C227BBC0200B26560 /* IPCConnection.swift in Sources */,
0B3399262B3907F6005CC627 /* ContentView.swift in Sources */,
0B3399252B3907F3005CC627 /* TravelModeApp.swift in Sources */,
Expand Down Expand Up @@ -343,6 +355,7 @@
CODE_SIGN_ENTITLEMENTS = Extension/Signing.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = Y6HZ9JJYV6;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -352,6 +365,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
PRODUCT_BUNDLE_IDENTIFIER = com.yueyi.TravelMode.Extension;
PRODUCT_NAME = "$(PRODUCT_BUNDLE_IDENTIFIER)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -367,6 +381,7 @@
CODE_SIGN_ENTITLEMENTS = Extension/Signing.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = Y6HZ9JJYV6;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -376,6 +391,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
PRODUCT_BUNDLE_IDENTIFIER = com.yueyi.TravelMode.Extension;
PRODUCT_NAME = "$(PRODUCT_BUNDLE_IDENTIFIER)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -438,7 +454,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -496,7 +512,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
Expand All @@ -522,7 +538,7 @@
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = TravelMode/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = TravelMode;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
Expand Down Expand Up @@ -553,7 +569,7 @@
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = TravelMode/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = TravelMode;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
Expand Down
6 changes: 6 additions & 0 deletions TravelMode/Helpers/NEFilterFlowExt.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import Foundation
import NetworkExtension

extension NEFilterFlow {

}
6 changes: 5 additions & 1 deletion TravelMode/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,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>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleIdentifier</key>
Expand All @@ -15,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>11</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSMainStoryboardFile</key>
Expand All @@ -24,5 +26,7 @@
<true/>
<key>NSSupportsSuddenTermination</key>
<true/>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
</dict>
</plist>

0 comments on commit b78aae3

Please sign in to comment.