Skip to content

Commit

Permalink
Merge pull request #35 from cruisediary/support-xcode10
Browse files Browse the repository at this point in the history
Support Xcode 10
  • Loading branch information
cruisediary committed Sep 23, 2018
2 parents eeb5d77 + 4cab83d commit 0eb3059
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 48 deletions.
34 changes: 2 additions & 32 deletions Example/Pastel.xcodeproj/project.pbxproj
Expand Up @@ -170,7 +170,6 @@
607FACCD1AFB9204008FA782 /* Frameworks */,
607FACCE1AFB9204008FA782 /* Resources */,
1CA69834BB733805260916E0 /* [CP] Embed Pods Frameworks */,
7D8433D705A37E2737182B2E /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -190,7 +189,6 @@
607FACE21AFB9204008FA782 /* Frameworks */,
607FACE31AFB9204008FA782 /* Resources */,
BB4B6AD1DC5EF07FF40713C5 /* [CP] Embed Pods Frameworks */,
39C08A66EE5609688CC45CEC /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -283,21 +281,6 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Pastel_Example/Pods-Pastel_Example-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
39C08A66EE5609688CC45CEC /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Pastel_Tests/Pods-Pastel_Tests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
408A916A556BF553CFBE03BD /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -316,21 +299,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
7D8433D705A37E2737182B2E /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Pastel_Example/Pods-Pastel_Example-resources.sh\"\n";
showEnvVarsInLog = 0;
};
B1800ACFF9C12C48B5BE424D /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -469,6 +437,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
};
name = Debug;
};
Expand Down Expand Up @@ -508,6 +477,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile
Expand Up @@ -5,8 +5,8 @@ inhibit_all_warnings!
def test_pods
pod 'FBSnapshotTestCase'
pod 'Nimble-Snapshots', '~> 6.3.0'
pod 'Nimble', '~> 7.0'
pod 'Quick', '~> 1.2'
pod 'Nimble', '~> 7.3.1'
pod 'Quick', '~> 1.3.2'

end

Expand Down
29 changes: 18 additions & 11 deletions Example/Podfile.lock
Expand Up @@ -4,33 +4,40 @@ PODS:
- FBSnapshotTestCase/Core (2.1.4)
- FBSnapshotTestCase/SwiftSupport (2.1.4):
- FBSnapshotTestCase/Core
- Nimble (7.0.3)
- Nimble (7.3.1)
- Nimble-Snapshots (6.3.0):
- Nimble-Snapshots/Core (= 6.3.0)
- Nimble-Snapshots/Core (6.3.0):
- FBSnapshotTestCase (~> 2.0)
- Nimble (~> 7.0)
- Pastel (0.4.0)
- Quick (1.2.0)
- Pastel (0.5.0)
- Quick (1.3.2)

DEPENDENCIES:
- FBSnapshotTestCase
- Nimble (~> 7.0)
- Nimble (~> 7.3.1)
- Nimble-Snapshots (~> 6.3.0)
- Pastel (from `../`)
- Quick (~> 1.2)
- Quick (~> 1.3.2)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- FBSnapshotTestCase
- Nimble
- Nimble-Snapshots
- Quick

EXTERNAL SOURCES:
Pastel:
:path: ../
:path: "../"

SPEC CHECKSUMS:
FBSnapshotTestCase: 094f9f314decbabe373b87cc339bea235a63e07a
Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac
Nimble: 04f732da099ea4d153122aec8c2a88fd0c7219ae
Nimble-Snapshots: f5459b5b091678dc942d03ec4741cacb58ba4a52
Pastel: b0ccd2e328e41bfcd2f1e569e635287db0fcb85b
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
Pastel: be3ff2b241fec4b53fa4414861545abe0901e189
Quick: 2623cb30d7a7f41ca62f684f679586558f483d46

PODFILE CHECKSUM: f198729f7f6cafa872cc267edd92b44abd9a67e1
PODFILE CHECKSUM: ccacd491a98b491348fe4fb5167bf530cd55eec8

COCOAPODS: 1.4.0
COCOAPODS: 1.5.3
2 changes: 1 addition & 1 deletion Pastel.podspec
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Pastel'
s.version = '0.4.0'
s.version = '0.5.0'
s.summary = 'Instagram like gradient background animation'

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion Pastel/Classes/PastelView.swift
Expand Up @@ -103,7 +103,7 @@ open class PastelView: UIView {
let animation = CABasicAnimation(keyPath: Animation.keyPath)
animation.duration = animationDuration
animation.toValue = currentGradientSet()
animation.fillMode = .forwards
animation.fillMode = kCAFillModeForwards
animation.isRemovedOnCompletion = false
animation.delegate = self
gradient.add(animation, forKey: Animation.key)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -60,7 +60,7 @@ pod "Pastel"

### Carthage
```
github "cruisediary/Pastel" ~> 0.4.0
github "cruisediary/Pastel" ~> 0.5.0
```

## Example
Expand Down

0 comments on commit 0eb3059

Please sign in to comment.