Skip to content

Commit

Permalink
fix: resolve warning in release mode
Browse files Browse the repository at this point in the history
set GENERATE_DEBUGGING to NO

(x86_64)  could not find object file symbol for symbol _protobuf_c_version
  • Loading branch information
tisfeng committed Jan 6, 2024
1 parent 501bac9 commit cefb067
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Easydict.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2754,6 +2754,7 @@
DEVELOPMENT_TEAM = 79NQA2XYHM;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 14.1;
MARKETING_VERSION = 1.0;
Expand Down Expand Up @@ -2781,6 +2782,7 @@
DEVELOPMENT_TEAM = 79NQA2XYHM;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 14.1;
MARKETING_VERSION = 1.0;
Expand All @@ -2807,6 +2809,7 @@
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch";
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.0;
Expand All @@ -2831,6 +2834,7 @@
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch";
GENERATE_INFOPLIST_FILE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.0;
Expand All @@ -2855,6 +2859,7 @@
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_HARDENED_RUNTIME = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
INFOPLIST_FILE = EasydictHelper/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -2880,6 +2885,7 @@
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)";
ENABLE_HARDENED_RUNTIME = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
INFOPLIST_FILE = EasydictHelper/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -3038,6 +3044,7 @@
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_TESTING_SEARCH_PATHS = NO;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch";
INFOPLIST_FILE = "$(TARGET_NAME)/App/Info-debug.plist";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
Expand Down Expand Up @@ -3077,6 +3084,7 @@
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_TESTING_SEARCH_PATHS = NO;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch";
INFOPLIST_FILE = "$(TARGET_NAME)/App/Info.plist";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
Expand Down

0 comments on commit cefb067

Please sign in to comment.