Skip to content

Commit

Permalink
Merge pull request #153 from conichiGMBH/antondomashnev/fix_macro_res…
Browse files Browse the repository at this point in the history
…erved_warning

Travis CI build fix;
  • Loading branch information
mickeyreiss committed Feb 11, 2017
2 parents 00d74e7 + e40123d commit ec36e0f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 24 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
sudo: false
osx_image: xcode8
language: objective-c
rvm:
- 2.3.1
xcode_project: PureLayout/PureLayout.xcodeproj
matrix:
include:
- xcode_sdk: iphonesimulator
xcode_scheme: PureLayout_iOS
- xcode_sdk: macosx
xcode_scheme: PureLayout_Mac

before_install:
- rvm install 2.3.1
- gem install slather --no-ri --no-rdoc

script:
- xcodebuild test -project PureLayout/PureLayout.xcodeproj -scheme PureLayout_iOS -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.0'
- xcodebuild test -project PureLayout/PureLayout.xcodeproj -scheme PureLayout_Mac -destination 'platform=OS X,arch=x86_64'

after_success: slather
49 changes: 32 additions & 17 deletions PureLayout/PureLayout.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@
remoteGlobalIDString = 164C8B721C0D36500007A6B1;
remoteInfo = PureLayout_tvOS;
};
6D207E9A1E2E99EB00CCDD7C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = B12C23D317C3FDE4001CF667 /* Project object */;
proxyType = 1;
remoteGlobalIDString = B1A290DA19562FDA00D4765E;
remoteInfo = "Example-Mac";
};
A7D496571B7B084800A74818 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = B12C23D317C3FDE4001CF667 /* Project object */;
Expand Down Expand Up @@ -173,13 +180,6 @@
remoteGlobalIDString = B12C23DA17C3FDE4001CF667;
remoteInfo = "Example-iOS";
};
B1046B1B1A7F4A680017187F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = B12C23D317C3FDE4001CF667 /* Project object */;
proxyType = 1;
remoteGlobalIDString = B1A290DA19562FDA00D4765E;
remoteInfo = "Example-Mac";
};
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
Expand Down Expand Up @@ -905,7 +905,7 @@
buildRules = (
);
dependencies = (
B1046B1C1A7F4A680017187F /* PBXTargetDependency */,
6D207E9B1E2E99EB00CCDD7C /* PBXTargetDependency */,
);
name = "PureLayoutTests-Mac";
productName = "PureLayoutTests-Mac";
Expand Down Expand Up @@ -956,6 +956,7 @@
TestTargetID = B12C23DA17C3FDE4001CF667;
};
B1EC857B195662B40099293C = {
ProvisioningStyle = Manual;
TestTargetID = B1A290DA19562FDA00D4765E;
};
};
Expand Down Expand Up @@ -1217,6 +1218,11 @@
target = 164C8B721C0D36500007A6B1 /* PureLayout_tvOS */;
targetProxy = 164C8B8E1C0D37C70007A6B1 /* PBXContainerItemProxy */;
};
6D207E9B1E2E99EB00CCDD7C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = B1A290DA19562FDA00D4765E /* Example-Mac */;
targetProxy = 6D207E9A1E2E99EB00CCDD7C /* PBXContainerItemProxy */;
};
A7D496561B7B084800A74818 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = B1046AAF1A7F32380017187F /* PureLayout_iOS */;
Expand All @@ -1237,11 +1243,6 @@
target = B12C23DA17C3FDE4001CF667 /* Example-iOS */;
targetProxy = B1046B191A7F4A640017187F /* PBXContainerItemProxy */;
};
B1046B1C1A7F4A680017187F /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = B1A290DA19562FDA00D4765E /* Example-Mac */;
targetProxy = B1046B1B1A7F4A680017187F /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
Expand Down Expand Up @@ -1603,6 +1604,8 @@
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.PureLayout.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = PureLayout;
PROVISIONING_PROFILE = None;
PROVISIONING_PROFILE_SPECIFIER = None;
SDKROOT = macosx;
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -1639,6 +1642,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.PureLayout.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = PureLayout;
PROVISIONING_PROFILE = None;
PROVISIONING_PROFILE_SPECIFIER = None;
SDKROOT = macosx;
SKIP_INSTALL = YES;
VERSIONING_SYSTEM = "apple-generic";
Expand All @@ -1664,7 +1669,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -1711,7 +1716,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
COPY_PHASE_STRIP = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand Down Expand Up @@ -1796,6 +1801,8 @@
METAL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.PureLayout.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = None;
PROVISIONING_PROFILE_SPECIFIER = None;
SDKROOT = macosx;
};
name = Debug;
Expand Down Expand Up @@ -1823,6 +1830,8 @@
METAL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.PureLayout.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = None;
PROVISIONING_PROFILE_SPECIFIER = None;
SDKROOT = macosx;
};
name = Release;
Expand All @@ -1834,6 +1843,7 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -1867,6 +1877,7 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEVELOPMENT_TEAM = "";
ENABLE_NS_ASSERTIONS = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -1897,7 +1908,9 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(DEVELOPER_FRAMEWORKS_DIR)",
"$(inherited)",
Expand All @@ -1918,7 +1931,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.PureLayout.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
SUPPORTED_PLATFORMS = macosx;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-Mac.app/Contents/MacOS/Example-Mac";
WARNING_CFLAGS = "";
WRAPPER_EXTENSION = xctest;
Expand All @@ -1932,8 +1945,10 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = "";
ENABLE_NS_ASSERTIONS = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(DEVELOPER_FRAMEWORKS_DIR)",
Expand All @@ -1951,7 +1966,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.PureLayout.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
SUPPORTED_PLATFORMS = macosx;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example-Mac.app/Contents/MacOS/Example-Mac";
WARNING_CFLAGS = "";
WRAPPER_EXTENSION = xctest;
Expand Down

0 comments on commit ec36e0f

Please sign in to comment.