Skip to content

Commit

Permalink
fix: Crash view ui hierarchy caused bitcode is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunon committed Dec 14, 2015
1 parent a4fafd6 commit e31e6c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Configurations/APIKit.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ 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
4 changes: 4 additions & 0 deletions Configurations/Debug.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ 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;
4 changes: 4 additions & 0 deletions Configurations/Release.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ 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;

0 comments on commit e31e6c2

Please sign in to comment.