Skip to content

Commit

Permalink
Defining TARGET_OS_IPHONE for the iOS unit test bundle, so that Unrar…
Browse files Browse the repository at this point in the history
…Kit includes the correct framework (UIKit instead of Cocoa)
  • Loading branch information
abbeycode committed Nov 6, 2015
1 parent 3b4a6cb commit 162eabc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/URKArchiveTestCase.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//

#import <XCTest/XCTest.h>
#import <UnrarKit/UnrarKit.h>
@import XCTest;
@import UnrarKit;


@interface URKArchiveTestCase : XCTestCase
Expand Down
2 changes: 2 additions & 0 deletions UnrarKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
OTHER_CFLAGS = "-DTARGET_OS_IPHONE";
PRODUCT_BUNDLE_IDENTIFIER = "com.abbey-code.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1740,6 +1741,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = "-DTARGET_OS_IPHONE";
PRODUCT_BUNDLE_IDENTIFIER = "com.abbey-code.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand Down

0 comments on commit 162eabc

Please sign in to comment.