Skip to content

Commit

Permalink
Merge pull request #33 from kennytm/carthage-osx-bitcode-fix
Browse files Browse the repository at this point in the history
Do not allow bitcode on OS X target (fix Carthage dependecy failure).
  • Loading branch information
robrix committed Apr 27, 2016
2 parents 2dd36e4 + fb81db1 commit becbb81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Box.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
ENABLE_BITCODE = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
Expand Down Expand Up @@ -448,7 +447,6 @@
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_BITCODE = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand Down
2 changes: 1 addition & 1 deletion BoxTests/BoxTypeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BoxTypeTests: XCTestCase {

func testMap() {
let a = Box(1)
let b: Box<String> = map(a, toString)
let b: Box<String> = map(a) { String($0) }
XCTAssertEqual(b.value, "1")
}
}

0 comments on commit becbb81

Please sign in to comment.