Merge pull request #1593 from corydolphin:patch/fix-carthage-tvos

Enables BITCODE for tvOS builds
This commit is contained in:
Bogdan Poplauschi 2016-09-30 21:47:09 +03:00
commit 64878cb24b
2 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,7 @@ before_install:
- xcpretty --version
- xcodebuild -version
- xcodebuild -showsdks
- brew install carthage
script:
- set -o pipefail
@ -47,5 +48,7 @@ script:
- xcodebuild clean -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS static' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
- xcodebuild test -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' -configuration Debug | xcpretty -c
- carthage build --no-skip-current
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -2717,6 +2717,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_BITCODE = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_NO_COMMON_BLOCKS = YES;
@ -2746,6 +2747,7 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_BITCODE = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;