Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Commit 622395d

Browse files
author
ivanlisovyi
committed
Add Swift Package Manager Support
1 parent 9353dc9 commit 622395d

File tree

175 files changed

+2383
-2076
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+2383
-2076
lines changed

.gitignore

+37-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# Xcode
22
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## macOS
6+
.DS_Store
7+
8+
## Build generated
39
build/
10+
DerivedData
11+
12+
## Various settings
413
*.pbxuser
514
!default.pbxuser
615
*.mode1v3
@@ -10,18 +19,33 @@ build/
1019
*.perspectivev3
1120
!default.perspectivev3
1221
xcuserdata
22+
23+
## Other
1324
*.xccheckout
1425
*.moved-aside
15-
DerivedData
26+
*.xcuserstate
27+
*.xcscmblueprint
28+
29+
## Obj-C/Swift specific
1630
*.hmap
1731
*.ipa
18-
*.xcuserstate
32+
33+
## Playgrounds
34+
timeline.xctimeline
35+
playground.xcworkspace
36+
37+
# Swift Package Manager
38+
#
39+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
40+
# Packages/
41+
.build/
42+
.bundle/
1943

2044
# CocoaPods
2145
#
2246
# We recommend against adding the Pods directory to your .gitignore. However
2347
# you should judge for yourself, the pros and cons are mentioned at:
24-
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
48+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
2549
#
2650
# Pods/
2751

@@ -31,4 +55,13 @@ DerivedData
3155
# Carthage/Checkouts
3256

3357
Carthage/
34-
.bundle
58+
59+
# fastlane
60+
#
61+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
62+
# screenshots whenever they are needed.
63+
# For more information about the recommended setup visit:
64+
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
65+
66+
fastlane/report.xml
67+
fastlane/screenshots

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Carlos.xcodeproj/xcshareddata/xcschemes/CarlosMac.xcscheme .swiftpm/xcode/xcshareddata/xcschemes/Carlos.xcscheme

+34-37
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,24 @@
1414
buildForAnalyzing = "YES">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "52CF0A9D1B9203730061022D"
18-
BuildableName = "CarlosMac.framework"
19-
BlueprintName = "CarlosMac"
20-
ReferencedContainer = "container:Carlos.xcodeproj">
17+
BlueprintIdentifier = "Carlos"
18+
BuildableName = "Carlos"
19+
BlueprintName = "Carlos"
20+
ReferencedContainer = "container:">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
<BuildActionEntry
24+
buildForTesting = "YES"
25+
buildForRunning = "NO"
26+
buildForProfiling = "NO"
27+
buildForArchiving = "NO"
28+
buildForAnalyzing = "YES">
29+
<BuildableReference
30+
BuildableIdentifier = "primary"
31+
BlueprintIdentifier = "CarlosTests"
32+
BuildableName = "CarlosTests"
33+
BlueprintName = "CarlosTests"
34+
ReferencedContainer = "container:">
2135
</BuildableReference>
2236
</BuildActionEntry>
2337
</BuildActionEntries>
@@ -26,35 +40,27 @@
2640
buildConfiguration = "Debug"
2741
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2842
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<MacroExpansion>
43+
shouldUseLaunchSchemeArgsEnv = "YES"
44+
codeCoverageEnabled = "YES"
45+
onlyGenerateCoverageForSpecifiedTargets = "YES">
46+
<CodeCoverageTargets>
3147
<BuildableReference
3248
BuildableIdentifier = "primary"
33-
BlueprintIdentifier = "52CF0A9D1B9203730061022D"
34-
BuildableName = "CarlosMac.framework"
35-
BlueprintName = "CarlosMac"
36-
ReferencedContainer = "container:Carlos.xcodeproj">
49+
BlueprintIdentifier = "Carlos"
50+
BuildableName = "Carlos"
51+
BlueprintName = "Carlos"
52+
ReferencedContainer = "container:">
3753
</BuildableReference>
38-
</MacroExpansion>
54+
</CodeCoverageTargets>
3955
<Testables>
4056
<TestableReference
4157
skipped = "NO">
4258
<BuildableReference
4359
BuildableIdentifier = "primary"
44-
BlueprintIdentifier = "52635A651B4F110500F187EE"
45-
BuildableName = "CarlosTests.xctest"
60+
BlueprintIdentifier = "CarlosTests"
61+
BuildableName = "CarlosTests"
4662
BlueprintName = "CarlosTests"
47-
ReferencedContainer = "container:Carlos.xcodeproj">
48-
</BuildableReference>
49-
</TestableReference>
50-
<TestableReference
51-
skipped = "NO">
52-
<BuildableReference
53-
BuildableIdentifier = "primary"
54-
BlueprintIdentifier = "52051DAE1C79D950005F861A"
55-
BuildableName = "PiedPiperTests.xctest"
56-
BlueprintName = "PiedPiperTests"
57-
ReferencedContainer = "container:Carlos.xcodeproj">
63+
ReferencedContainer = "container:">
5864
</BuildableReference>
5965
</TestableReference>
6066
</Testables>
@@ -69,15 +75,6 @@
6975
debugDocumentVersioning = "YES"
7076
debugServiceExtension = "internal"
7177
allowLocationSimulation = "YES">
72-
<MacroExpansion>
73-
<BuildableReference
74-
BuildableIdentifier = "primary"
75-
BlueprintIdentifier = "52CF0A9D1B9203730061022D"
76-
BuildableName = "CarlosMac.framework"
77-
BlueprintName = "CarlosMac"
78-
ReferencedContainer = "container:Carlos.xcodeproj">
79-
</BuildableReference>
80-
</MacroExpansion>
8178
</LaunchAction>
8279
<ProfileAction
8380
buildConfiguration = "Release"
@@ -88,10 +85,10 @@
8885
<MacroExpansion>
8986
<BuildableReference
9087
BuildableIdentifier = "primary"
91-
BlueprintIdentifier = "52CF0A9D1B9203730061022D"
92-
BuildableName = "CarlosMac.framework"
93-
BlueprintName = "CarlosMac"
94-
ReferencedContainer = "container:Carlos.xcodeproj">
88+
BlueprintIdentifier = "Carlos"
89+
BuildableName = "Carlos"
90+
BlueprintName = "Carlos"
91+
ReferencedContainer = "container:">
9592
</BuildableReference>
9693
</MacroExpansion>
9794
</ProfileAction>

Carlos.podspec

+10-11
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,23 @@
77

88
Pod::Spec.new do |s|
99
s.name = "Carlos"
10-
s.version = "0.9.1"
10+
s.version = "0.10.0"
1111
s.summary = "A simple but flexible cache."
1212
s.description = <<-DESC
13-
Carlos is a small set of classes convenience operators to realize custom, flexible and powerful cache layers in your iOS, watchOS 2, tvOS and Mac OS X applications.
13+
Carlos is a small set of classes convenience operators to realize custom, flexible and powerful cache layers in your iOS, watchOS 3, tvOS and Mac OS X applications.
1414
DESC
15-
s.homepage = "https://github.com/WeltN24/Carlos"
15+
s.homepage = "https://github.com/spring-media/Carlos"
1616
s.license = 'MIT'
1717
s.author = { "Vittorio Monaco" => "[email protected]" }
18-
s.source = { :git => "https://github.com/WeltN24/Carlos.git", :tag => s.version.to_s }
18+
s.source = { :git => "https://github.com/spring-media/Carlos.git", :tag => s.version.to_s }
1919

20-
s.ios.deployment_target = '8.0'
21-
s.watchos.deployment_target = '2.0'
22-
23-
s.requires_arc = true
20+
s.ios.deployment_target = '10.0'
21+
s.watchos.deployment_target = '3.0'
2422

25-
s.dependency 'PiedPiper', '~> 0.10.1'
23+
s.dependency 'PiedPiper', '~> 0.11.0'
2624

27-
s.ios.source_files = 'Carlos/*.swift', 'Carlos/NSKeyedUnarchiver+SwiftUtilities.{h,m}'
28-
s.watchos.source_files = 'Carlos/*.swift', 'Carlos/NSKeyedUnarchiver+SwiftUtilities.{h,m}'
25+
s.source_files = 'Carlos/*.swift'
2926
s.watchos.exclude_files = 'Carlos/MemoryWarning.swift'
27+
28+
s.requires_arc = true
3029
end

0 commit comments

Comments
 (0)