mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-04-29 09:56:13 +08:00
Changed the Swift compiler optimization level
Summary: This will allow us to use the debugger and see Swift variables when in debug mode while maintaining compiler optimizations for release mode Reviewed By: samodom Differential Revision: D39187042 fbshipit-source-id: 289e12d4202c5226c41d65cd3c781d6ac2d5986e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e692d113f2
commit
e7542ef4c7
@@ -23,3 +23,5 @@ ENABLE_TESTABILITY = YES
|
||||
|
||||
// MTL
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE
|
||||
|
||||
SWIFT_OPTIMIZATION_LEVEL = -Onone
|
||||
|
||||
@@ -24,3 +24,5 @@ ENABLE_TESTABILITY = YES
|
||||
|
||||
// MTL
|
||||
MTL_ENABLE_DEBUG_INFO = NO
|
||||
|
||||
SWIFT_OPTIMIZATION_LEVEL = -O
|
||||
|
||||
@@ -27,7 +27,6 @@ settings:
|
||||
# We need to explicitly set them to maintain parity with
|
||||
# the project file being replaced
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: NO
|
||||
SWIFT_OPTIMIZATION_LEVEL: -O
|
||||
|
||||
targets:
|
||||
FBSDKCoreKit-Static:
|
||||
|
||||
@@ -32,7 +32,6 @@ settings:
|
||||
# Some iOS defaults will be overridden by Xcodegen.
|
||||
# We need to explicitly set them to maintain parity with
|
||||
# the project file being replaced
|
||||
SWIFT_OPTIMIZATION_LEVEL: -O
|
||||
ENABLE_NS_ASSERTIONS: YES
|
||||
|
||||
schemes:
|
||||
|
||||
@@ -31,7 +31,6 @@ settings:
|
||||
# We need to explicitly set them to maintain parity with
|
||||
# the project file being replaced
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: NO
|
||||
SWIFT_OPTIMIZATION_LEVEL: -O
|
||||
ENABLE_NS_ASSERTIONS: YES
|
||||
|
||||
targets:
|
||||
|
||||
@@ -31,7 +31,6 @@ settings:
|
||||
# We need to explicitly set them to maintain parity with
|
||||
# the project file being replaced
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: NO
|
||||
SWIFT_OPTIMIZATION_LEVEL: -O
|
||||
ENABLE_NS_ASSERTIONS: YES
|
||||
|
||||
targets:
|
||||
|
||||
Reference in New Issue
Block a user