Skip to content

Commit

Permalink
Add Swift Package Manager support (#6)
Browse files Browse the repository at this point in the history
* initial spm support

* migrate dependency to spm

* bump dependency version
  • Loading branch information
christianhatch authored Sep 4, 2022
1 parent b72cb45 commit 2afb372
Show file tree
Hide file tree
Showing 24 changed files with 426 additions and 365 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions EmailPicker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'EmailPicker'
s.version = '3.0.0'
s.version = '4.0.0'
s.summary = 'A viewcontroller to select emails, written in Swift.'
s.description = <<-DESC
Expand All @@ -21,7 +21,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/dockwa/EmailPicker.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/commodoreftp'
s.swift_version = '5.0'
s.ios.deployment_target = '11.4'
s.source_files = 'EmailPicker/Classes/**/*'
s.ios.deployment_target = '12.4'
s.source_files = 'Sources/EmailPicker/**/*'
s.dependency 'CLTokenInputView'
end
Empty file removed EmailPicker/Assets/.gitkeep
Empty file.
Empty file removed EmailPicker/Classes/.gitkeep
Empty file.
8 changes: 4 additions & 4 deletions Example/EmailPicker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
792EE554A769FE236D5B574E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
7F1C8C9BF4F47C46E88C2B4E /* Pods-EmailPicker_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-EmailPicker_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-EmailPicker_Tests/Pods-EmailPicker_Tests.release.xcconfig"; sourceTree = "<group>"; };
9F674F9FC601C55FE37E98F4 /* Pods-EmailPicker_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-EmailPicker_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-EmailPicker_Example/Pods-EmailPicker_Example.debug.xcconfig"; sourceTree = "<group>"; };
AA62E912231A5372D7D93F1E /* EmailPicker.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = EmailPicker.podspec; path = ../EmailPicker.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
AA62E912231A5372D7D93F1E /* EmailPicker.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = EmailPicker.podspec; path = ../EmailPicker.podspec; sourceTree = "<group>"; };
F112133B4DFFC4115550FA66 /* Pods-EmailPicker_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-EmailPicker_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-EmailPicker_Tests/Pods-EmailPicker_Tests.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -210,7 +210,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 1200;
LastUpgradeCheck = 1340;
ORGANIZATIONNAME = CocoaPods;
TargetAttributes = {
607FACCF1AFB9204008FA782 = {
Expand Down Expand Up @@ -474,7 +474,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.4;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -524,7 +524,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.4;
IPHONEOS_DEPLOYMENT_TARGET = 12.4;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1200"
LastUpgradeVersion = "1340"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
6 changes: 3 additions & 3 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- CLTokenInputView (2.3.0)
- EmailPicker (3.0.0):
- EmailPicker (4.0.0):
- CLTokenInputView

DEPENDENCIES:
Expand All @@ -17,8 +17,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
CLTokenInputView: 9dc1ffb7c9d2d81787e69a63c75bd97b0b2d1e76
EmailPicker: 6965eb4539174069ed8237cdc96efa9b79768d9c
EmailPicker: d459ba87acb06fe023671fdca36810830e6e272e

PODFILE CHECKSUM: 08d9f2dfbe649c61cb8e353e2b2b519c4cae4717

COCOAPODS: 1.10.0.rc.1
COCOAPODS: 1.11.3

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Example/Pods/Local Podspecs/EmailPicker.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2afb372

Please sign in to comment.