Skip to content

Commit

Permalink
Update iOS Deployment Target to 8.1 (#11)
Browse files Browse the repository at this point in the history
* Update iOS Deployment Target to 8.1

* Update the Podfile in the demo app, [!] No `Podfile' found in the project directory. the demo app too
  • Loading branch information
alanzeino authored Feb 6, 2018
1 parent 9b21499 commit 42d1512
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
6 changes: 4 additions & 2 deletions FBSnapshotTestCase.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -667,7 +667,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down Expand Up @@ -695,6 +695,7 @@
);
INFOPLIST_FILE = "FBSnapshotTestCase/FBSnapshotTestCase-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down Expand Up @@ -725,6 +726,7 @@
);
INFOPLIST_FILE = "FBSnapshotTestCase/FBSnapshotTestCase-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
INFOPLIST_FILE = "FBSnapshotTestCaseDemo/FBSnapshotTestCaseDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -515,6 +516,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets";
INFOPLIST_FILE = "FBSnapshotTestCaseDemo/FBSnapshotTestCaseDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion FBSnapshotTestCaseDemo/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
platform :ios, '8.1'

use_frameworks!

Expand Down
12 changes: 6 additions & 6 deletions FBSnapshotTestCaseDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PODS:
- iOSSnapshotTestCase (2.1.6):
- iOSSnapshotTestCase/SwiftSupport (= 2.1.6)
- iOSSnapshotTestCase/Core (2.1.6)
- iOSSnapshotTestCase/SwiftSupport (2.1.6):
- iOSSnapshotTestCase (2.2.0):
- iOSSnapshotTestCase/SwiftSupport (= 2.2.0)
- iOSSnapshotTestCase/Core (2.2.0)
- iOSSnapshotTestCase/SwiftSupport (2.2.0):
- iOSSnapshotTestCase/Core

DEPENDENCIES:
Expand All @@ -13,8 +13,8 @@ EXTERNAL SOURCES:
:path: ..

SPEC CHECKSUMS:
iOSSnapshotTestCase: dc636173d7398d13e99b809852472a3eb125fc2e
iOSSnapshotTestCase: 810eb3afdec51713b6d436810b23949ba626f393

PODFILE CHECKSUM: f7c02939e680d02f0dc6d6ca206b0e331905837a
PODFILE CHECKSUM: 23fc15db0c3233d57acaa5dbafbc9f5f89f2f477

COCOAPODS: 1.3.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Installation with CocoaPods
end
```
If you support iOS 7 use `iOSSnapshotTestCase/Core` instead, which doesn't contain Swift support.
If your test target is Objective-C only use `iOSSnapshotTestCase/Core` instead, which doesn't contain Swift support.
Replace "Tests" with the name of your test project.
Expand Down
2 changes: 1 addition & 1 deletion iOSSnapshotTestCase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.author = 'Uber'
s.source = { :git => "https://github.com/uber/ios-snapshot-test-case.git",
:tag => s.version.to_s }
s.ios.deployment_target = '7.0'
s.ios.deployment_target = '8.1'
s.tvos.deployment_target = '9.0'
s.requires_arc = true
s.frameworks = 'XCTest','UIKit','Foundation','QuartzCore'
Expand Down

0 comments on commit 42d1512

Please sign in to comment.