Skip to content

Commit 1de6f41

Browse files
committed
adds podspec, update version and gitignore
1 parent 551910d commit 1de6f41

File tree

3 files changed

+85
-4
lines changed

3 files changed

+85
-4
lines changed

.gitignore

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
# Created by https://www.gitignore.io/api/swift,carthage,cocoapods
3-
# Edit at https://www.gitignore.io/?templates=swift,carthage,cocoapods
2+
# Created by https://www.gitignore.io/api/swift,xcode,carthage,cocoapods
3+
# Edit at https://www.gitignore.io/?templates=swift,xcode,carthage,cocoapods
44

55
### Carthage ###
66
# Carthage
@@ -97,4 +97,66 @@ fastlane/test_output
9797

9898
iOSInjectionProject/
9999

100-
# End of https://www.gitignore.io/api/swift,carthage,cocoapods
100+
### Xcode ###
101+
# Xcode
102+
#
103+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
104+
105+
## Build generated
106+
107+
## Various settings
108+
109+
## Other
110+
111+
## Obj-C/Swift specific
112+
113+
## Playgrounds
114+
115+
# Swift Package Manager
116+
#
117+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
118+
# Packages/
119+
# Package.pins
120+
# Package.resolved
121+
122+
# CocoaPods
123+
#
124+
# We recommend against adding the Pods directory to your .gitignore. However
125+
# you should judge for yourself, the pros and cons are mentioned at:
126+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
127+
#
128+
# Pods/
129+
#
130+
# Add this line if you want to avoid checking in source code from the Xcode workspace
131+
# *.xcworkspace
132+
133+
# Carthage
134+
#
135+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
136+
# Carthage/Checkouts
137+
138+
139+
# fastlane
140+
#
141+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
142+
# screenshots whenever they are needed.
143+
# For more information about the recommended setup visit:
144+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
145+
146+
147+
# Code Injection
148+
#
149+
# After new code Injection tools there's a generated folder /iOSInjectionProject
150+
# https://github.com/johnno1962/injectionforxcode
151+
152+
153+
154+
### Xcode Patch ###
155+
*.xcodeproj/*
156+
!*.xcodeproj/project.pbxproj
157+
!*.xcodeproj/xcshareddata/
158+
!*.xcworkspace/contents.xcworkspacedata
159+
/*.gcno
160+
**/xcshareddata/WorkspaceSettings.xcsettings
161+
162+
# End of https://www.gitignore.io/api/swift,xcode,carthage,cocoapods

NestedCloudKitCodable.podspec

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Pod::Spec.new do |s|
2+
3+
s.name = "NestedCloudKitCodable"
4+
s.version = "1.0.0"
5+
s.summary = "Nested encoder and decoder for CKRecords."
6+
s.description = <<-DESC
7+
NestedCloudKitCodable is a library to help you encode your custom objects to CloudKit CKRecord format
8+
and decode they back to their original type.
9+
DESC
10+
11+
s.homepage = "https://github.com/ggirotto/NestedCloudkitCodable"
12+
s.license = "BS2D-2-Clause"
13+
s.author = { "Guilherme Girotto" => "guiga741@gmail.com" }
14+
s.platform = :ios, "10.0"
15+
s.source = { :git => "https://github.com/ggirotto/NestedCloudkitCodable.git", :tag => s.version.to_s }
16+
s.source_files = "Sources/**/*.swift"
17+
s.ios.frameworks = "CloudKit", "Foundation"
18+
19+
end

NestedCloudKitCodable/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
18+
<string>1.0.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

0 commit comments

Comments
 (0)