Skip to content

Commit cecf0af

Browse files
committed
Update for latest Cocoapods, release version 6.0.2
1 parent 50e3bf1 commit cecf0af

File tree

5 files changed

+18
-16
lines changed

5 files changed

+18
-16
lines changed

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.2

FBSnapshotTestCaseDemo/FBSnapshotTestCaseDemo.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
files = (
293293
);
294294
inputPaths = (
295-
"${SRCROOT}/Pods/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh",
295+
"${PODS_ROOT}/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh",
296296
"${BUILT_PRODUCTS_DIR}/iOSSnapshotTestCase/FBSnapshotTestCase.framework",
297297
);
298298
name = "[CP] Embed Pods Frameworks";
@@ -301,7 +301,7 @@
301301
);
302302
runOnlyForDeploymentPostprocessing = 0;
303303
shellPath = /bin/sh;
304-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh\"\n";
304+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh\"\n";
305305
showEnvVarsInLog = 0;
306306
};
307307
EEBCF471BAA9F698AD39E48C /* [CP] Check Pods Manifest.lock */ = {
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PODS:
2-
- iOSSnapshotTestCase (6.0.0):
3-
- iOSSnapshotTestCase/SwiftSupport (= 6.0.0)
4-
- iOSSnapshotTestCase/Core (6.0.0)
5-
- iOSSnapshotTestCase/SwiftSupport (6.0.0):
2+
- iOSSnapshotTestCase (6.0.2):
3+
- iOSSnapshotTestCase/SwiftSupport (= 6.0.2)
4+
- iOSSnapshotTestCase/Core (6.0.2)
5+
- iOSSnapshotTestCase/SwiftSupport (6.0.2):
66
- iOSSnapshotTestCase/Core
77

88
DEPENDENCIES:
@@ -13,8 +13,8 @@ EXTERNAL SOURCES:
1313
:path: ".."
1414

1515
SPEC CHECKSUMS:
16-
iOSSnapshotTestCase: 9b95a8aa68d62c1000c39776961caef32f82b57b
16+
iOSSnapshotTestCase: 20083a7be9b8ef742610e16c79f15ad829441f29
1717

1818
PODFILE CHECKSUM: 3cfb4936a589aa465c6539dd9821f63a5df59343
1919

20-
COCOAPODS: 1.5.3
20+
COCOAPODS: 1.6.1

docs/HowToRelease.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
= How to Release =
22
1. Update the CHANGELOG.md
3-
2. Update iOSSnapshotTestCase.podspec
4-
3. Tag the commit in master with `git tag version-number`; e.g., `git tag 0.0.1`
5-
4. Push the tag with `git push --tags`
6-
5. `pod trunk push iOSSnapshotTestCase.podspec`
7-
6. `carthage build --archive --configuration Debug`
8-
7. Upload the `FBSnapshotTestCase.framework.zip` to the tagged release on Github for the version number
3+
2. Update iOSSnapshotTestCase.podspec version number
4+
3. `pod install` inside FBSnapshotTestCaseDemo/
5+
4. Commit all the changes
6+
5. Tag the commit in master with `git tag version-number`; e.g., `git tag 0.0.1`
7+
6. Push the tag with `git push --tags`
8+
7. `pod trunk push iOSSnapshotTestCase.podspec`
9+
8. `carthage build --archive --configuration Debug`
10+
9. Upload the `FBSnapshotTestCase.framework.zip` to the tagged release on Github for the version number

iOSSnapshotTestCase.podspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "iOSSnapshotTestCase"
33
s.module_name = "FBSnapshotTestCase"
4-
s.version = "6.0.1"
4+
s.version = "6.0.2"
55
s.summary = "Snapshot view unit tests for iOS"
66
s.description = <<-DESC
77
A "snapshot test case" takes a configured UIView or CALayer
@@ -22,7 +22,6 @@ Pod::Spec.new do |s|
2222
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
2323
s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(PLATFORM_DIR)/Developer/Library/Frameworks' }
2424
s.default_subspecs = 'SwiftSupport'
25-
s.swift_version = '4.2'
2625
s.subspec 'Core' do |cs|
2726
cs.source_files = 'FBSnapshotTestCase/**/*.{h,m}', 'FBSnapshotTestCase/*.{h,m}'
2827
cs.public_header_files = 'FBSnapshotTestCase/FBSnapshotTestCase.h','FBSnapshotTestCase/FBSnapshotTestCasePlatform.h','FBSnapshotTestCase/FBSnapshotTestController.h'

0 commit comments

Comments
 (0)