Skip to content

Commit

Permalink
Support Xcode 11
Browse files Browse the repository at this point in the history
  • Loading branch information
zqqf16 committed Oct 8, 2019
1 parent 84602d7 commit 22165b6
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 39 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
BUILD_VER = $(shell /usr/libexec/PlistBuddy -c Print:CFBundleShortVersionString -c Print:CFBundleVersion SYM/Info.plist | xargs | sed 's/ /_/g')
PROJ = SYM.xcodeproj/project.pbxproj
MARKETING_VERSION = $(shell cat $(PROJ)| sed -n 's/.*MARKETING_VERSION = \(.*\);/\1/p' | head -n 1)
CURRENT_PROJECT_VERSION = $(shell cat $(PROJ)| sed -n 's/.*CURRENT_PROJECT_VERSION = \(.*\);/\1/p' | head -n 1)
BUILD_VER = $(MARKETING_VERSION)_$(CURRENT_PROJECT_VERSION)
NAME = SYM_$(BUILD_VER)
ARCHIVE_PATH = build/$(NAME).xcarchive
EXPORT_PATH = build/$(NAME)
Expand Down
11 changes: 10 additions & 1 deletion SYM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@
attributes = {
DefaultBuildSystemTypeForWorkspace = Latest;
LastSwiftUpdateCheck = 1020;
LastUpgradeCheck = 1020;
LastUpgradeCheck = 1100;
ORGANIZATIONNAME = zqqf16;
TargetAttributes = {
51BF9C4E1D6C7A1C00379BFC = {
Expand Down Expand Up @@ -915,6 +915,7 @@
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = BPL95996PK;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/SYM/Device/libimobiledevice";
LIBRARY_SEARCH_PATHS = (
Expand Down Expand Up @@ -946,6 +947,7 @@
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = BPL95996PK;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/SYM/Device/libimobiledevice";
LIBRARY_SEARCH_PATHS = (
Expand Down Expand Up @@ -1084,6 +1086,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
};
name = Release;
};
Expand All @@ -1095,7 +1098,9 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 64;
DEVELOPMENT_TEAM = BPL95996PK;
ENABLE_HARDENED_RUNTIME = YES;
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
HEADER_SEARCH_PATHS = (
"$(PROJECT_DIR)/SYM/Device",
Expand All @@ -1111,6 +1116,7 @@
"$(PROJECT_DIR)/SYM/Device/plist",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 0.6.7;
PRODUCT_BUNDLE_IDENTIFIER = im.zorro.SYM;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand All @@ -1131,7 +1137,9 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 64;
DEVELOPMENT_TEAM = BPL95996PK;
ENABLE_HARDENED_RUNTIME = YES;
GCC_PREPROCESSOR_DEFINITIONS = "";
HEADER_SEARCH_PATHS = (
"$(PROJECT_DIR)/SYM/Device",
Expand All @@ -1147,6 +1155,7 @@
"$(PROJECT_DIR)/SYM/Device/plist",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 0.6.7;
PRODUCT_BUNDLE_IDENTIFIER = im.zorro.SYM;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand Down
24 changes: 10 additions & 14 deletions SYM.xcodeproj/xcshareddata/xcschemes/SYM.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1100"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -27,6 +27,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F49BD1EB1D2FF46300024AAE"
BuildableName = "SYM.app"
BlueprintName = "SYM"
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -39,17 +48,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F49BD1EB1D2FF46300024AAE"
BuildableName = "SYM.app"
BlueprintName = "SYM"
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -71,8 +69,6 @@
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
33 changes: 19 additions & 14 deletions SYM.xcodeproj/xcshareddata/xcschemes/SYMTests.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1100"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -11,6 +11,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F49BD1EB1D2FF46300024AAE"
BuildableName = "SYM.app"
BlueprintName = "SYM"
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -23,17 +32,6 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F49BD1EB1D2FF46300024AAE"
BuildableName = "SYM.app"
BlueprintName = "SYM"
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -55,15 +53,22 @@
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F49BD1EB1D2FF46300024AAE"
BuildableName = "SYM.app"
BlueprintName = "SYM"
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
10 changes: 3 additions & 7 deletions SYM.xcodeproj/xcshareddata/xcschemes/icp.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1020"
LastUpgradeVersion = "1100"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -27,8 +27,6 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
Expand All @@ -38,8 +36,8 @@
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -61,8 +59,6 @@
ReferencedContainer = "container:SYM.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
4 changes: 2 additions & 2 deletions SYM/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.6.6</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>63</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit 22165b6

Please sign in to comment.