From 8d2469b01e5e0f841b0f8a613f3b45e2203d9cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 31 Dec 2021 23:16:10 +0800 Subject: [PATCH] Try building with debug symbols --- iina.xcodeproj/project.pbxproj | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iina.xcodeproj/project.pbxproj b/iina.xcodeproj/project.pbxproj index 0ed74646af9..b622aa09481 100644 --- a/iina.xcodeproj/project.pbxproj +++ b/iina.xcodeproj/project.pbxproj @@ -3650,6 +3650,7 @@ "$(inherited)", "$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks", ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; HEADER_SEARCH_PATHS = ( "$(SRCROOT)/deps/include", "$(inherited)", @@ -3664,6 +3665,7 @@ "$(SRCROOT)/deps/lib", "$(PROJECT_DIR)/deps/lib", ); + LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 10.11; MARKETING_VERSION = 1.2.0; MODULEMAP_FILE = module.modulemap; @@ -3672,6 +3674,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.colliderli.iina; PRODUCT_NAME = IINA; SKIP_INSTALL = YES; + STRIP_INSTALLED_PRODUCT = NO; + STRIP_SWIFT_SYMBOLS = NO; SWIFT_OBJC_BRIDGING_HEADER = "iina/iina-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -3689,12 +3693,14 @@ CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 129; + DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = 67CQ77V27R; ENABLE_HARDENED_RUNTIME = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks", ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; HEADER_SEARCH_PATHS = ( "$(SRCROOT)/deps/include", "$(inherited)", @@ -3709,6 +3715,7 @@ "$(SRCROOT)/deps/lib", "$(PROJECT_DIR)/deps/lib", ); + LLVM_LTO = YES; MACOSX_DEPLOYMENT_TARGET = 10.11; MARKETING_VERSION = 1.2.0; MODULEMAP_FILE = module.modulemap; @@ -3718,6 +3725,8 @@ PRODUCT_BUNDLE_IDENTIFIER = com.colliderli.iina; PRODUCT_NAME = IINA; SKIP_INSTALL = NO; + STRIP_INSTALLED_PRODUCT = NO; + STRIP_SWIFT_SYMBOLS = NO; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OBJC_BRIDGING_HEADER = "iina/iina-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-O";