Skip to content

Commit

Permalink
Update for latest Cocoapods, release version 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alanzeino committed Mar 27, 2019
1 parent 50e3bf1 commit cecf0af
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.2
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh",
"${PODS_ROOT}/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/iOSSnapshotTestCase/FBSnapshotTestCase.framework",
);
name = "[CP] Embed Pods Frameworks";
Expand All @@ -301,7 +301,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FBSnapshotTestCaseDemoTests/Pods-FBSnapshotTestCaseDemoTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
EEBCF471BAA9F698AD39E48C /* [CP] Check Pods Manifest.lock */ = {
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 (6.0.0):
- iOSSnapshotTestCase/SwiftSupport (= 6.0.0)
- iOSSnapshotTestCase/Core (6.0.0)
- iOSSnapshotTestCase/SwiftSupport (6.0.0):
- iOSSnapshotTestCase (6.0.2):
- iOSSnapshotTestCase/SwiftSupport (= 6.0.2)
- iOSSnapshotTestCase/Core (6.0.2)
- iOSSnapshotTestCase/SwiftSupport (6.0.2):
- iOSSnapshotTestCase/Core

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

SPEC CHECKSUMS:
iOSSnapshotTestCase: 9b95a8aa68d62c1000c39776961caef32f82b57b
iOSSnapshotTestCase: 20083a7be9b8ef742610e16c79f15ad829441f29

PODFILE CHECKSUM: 3cfb4936a589aa465c6539dd9821f63a5df59343

COCOAPODS: 1.5.3
COCOAPODS: 1.6.1
14 changes: 8 additions & 6 deletions docs/HowToRelease.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
= How to Release =
1. Update the CHANGELOG.md
2. Update iOSSnapshotTestCase.podspec
3. Tag the commit in master with `git tag version-number`; e.g., `git tag 0.0.1`
4. Push the tag with `git push --tags`
5. `pod trunk push iOSSnapshotTestCase.podspec`
6. `carthage build --archive --configuration Debug`
7. Upload the `FBSnapshotTestCase.framework.zip` to the tagged release on Github for the version number
2. Update iOSSnapshotTestCase.podspec version number
3. `pod install` inside FBSnapshotTestCaseDemo/
4. Commit all the changes
5. Tag the commit in master with `git tag version-number`; e.g., `git tag 0.0.1`
6. Push the tag with `git push --tags`
7. `pod trunk push iOSSnapshotTestCase.podspec`
8. `carthage build --archive --configuration Debug`
9. Upload the `FBSnapshotTestCase.framework.zip` to the tagged release on Github for the version number
3 changes: 1 addition & 2 deletions iOSSnapshotTestCase.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "iOSSnapshotTestCase"
s.module_name = "FBSnapshotTestCase"
s.version = "6.0.1"
s.version = "6.0.2"
s.summary = "Snapshot view unit tests for iOS"
s.description = <<-DESC
A "snapshot test case" takes a configured UIView or CALayer
Expand All @@ -22,7 +22,6 @@ Pod::Spec.new do |s|
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(PLATFORM_DIR)/Developer/Library/Frameworks' }
s.default_subspecs = 'SwiftSupport'
s.swift_version = '4.2'
s.subspec 'Core' do |cs|
cs.source_files = 'FBSnapshotTestCase/**/*.{h,m}', 'FBSnapshotTestCase/*.{h,m}'
cs.public_header_files = 'FBSnapshotTestCase/FBSnapshotTestCase.h','FBSnapshotTestCase/FBSnapshotTestCasePlatform.h','FBSnapshotTestCase/FBSnapshotTestController.h'
Expand Down

0 comments on commit cecf0af

Please sign in to comment.