Skip to content

Commit

Permalink
Using BITCODE_GENERATION_MODE.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunon committed Dec 14, 2015
1 parent e31e6c2 commit 9204128
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 4 additions & 0 deletions Configurations/APIKit.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ SKIP_INSTALL = YES
SUPPORTED_PLATFORMS = macosx iphoneos iphonesimulator watchos watchsimulator appletvos appletvsimulator
TARGETED_DEVICE_FAMILY = 1,2,3,4

ENABLE_BITCODE[sdk=iphone*] = YES;
ENABLE_BITCODE[sdk=watch*] = YES;
ENABLE_BITCODE[sdk=appletv*] = YES;

LD_RUNPATH_SEARCH_PATHS[sdk=macosx*] = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks
LD_RUNPATH_SEARCH_PATHS[sdk=iphone*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
LD_RUNPATH_SEARCH_PATHS[sdk=watch*] = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
Expand Down
5 changes: 1 addition & 4 deletions Configurations/Debug.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ GCC_SYMBOLS_PRIVATE_EXTERN = NO
MTL_ENABLE_DEBUG_INFO = YES
ONLY_ACTIVE_ARCH = YES
SWIFT_OPTIMIZATION_LEVEL = -Onone

ENABLE_BITCODE[sdk=iphone*] = NO;
ENABLE_BITCODE[sdk=watch*] = NO;
ENABLE_BITCODE[sdk=appletv*] = NO;
BITCODE_GENERATION_MODE = marker
5 changes: 1 addition & 4 deletions Configurations/Release.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ ENABLE_NS_ASSERTIONS = NO
MTL_ENABLE_DEBUG_INFO = NO
VALIDATE_PRODUCT = YES
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym

ENABLE_BITCODE[sdk=iphone*] = YES;
ENABLE_BITCODE[sdk=watch*] = YES;
ENABLE_BITCODE[sdk=appletv*] = YES;
BITCODE_GENERATION_MODE = bitcode

0 comments on commit 9204128

Please sign in to comment.