Skip to content

Commit

Permalink
Merge pull request #280 from ankurp/fix-project-issues
Browse files Browse the repository at this point in the history
Updating package.swift and bumping version
  • Loading branch information
ankurp committed Feb 29, 2024
2 parents 7a8b435 + beef717 commit 276796e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0
5.1
4 changes: 2 additions & 2 deletions Dollar.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Dollar"
s.version = "9.0.1"
s.version = "10.0.0"
s.summary = "A functional tool-belt for Swift Language"
s.homepage = "https://github.com/ankurp/Dollar"
s.license = {type: "MIT", file: "LICENSE"}
Expand All @@ -12,5 +12,5 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = "9.0"
s.watchos.deployment_target = "2.0"
s.requires_arc = true
s.swift_version = "5.0"
s.swift_version = "5.1"
end
8 changes: 4 additions & 4 deletions Dollar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 5.1;
TARGETED_DEVICE_FAMILY = "1,2,7";
TVOS_DEPLOYMENT_TARGET = 9.0;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
Expand All @@ -271,7 +271,7 @@
OTHER_SWIFT_FLAGS = "$(inherited)";
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 5.1;
TARGETED_DEVICE_FAMILY = "1,2,7";
};
name = Release;
Expand All @@ -295,7 +295,7 @@
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 5.1;
TARGETED_DEVICE_FAMILY = "1,2,7";
TVOS_DEPLOYMENT_TARGET = 9.0;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
Expand All @@ -317,7 +317,7 @@
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 5.1;
TARGETED_DEVICE_FAMILY = "1,2,7";
};
name = Debug;
Expand Down
19 changes: 17 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
// swift-tools-version:5.0
// swift-tools-version:5.1

import PackageDescription

let package = Package(name: "Dollar")
let package = Package(
name: "Dollar",
platforms: [
.iOS(.v9),
.macOS(.v11),
.tvOS(.v9),
.watchOS(.v2),
.visionOS(.v1)
],
products: [
.library(name: "Dollar", targets: ["Dollar"]),
],
targets: [
.target(name: "Dollar", path: "Sources")
]
)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Still stuck. Then checkout this screencast on [how to import](http://recordit.co

## Support for Xcode and Swift

* For Xcode 15 (Swift 5.1) use version `10.0.0`
* For Xcode 11 (Swift 5.0) use version `9.0.0`
* For Xcode 10 (Swift 4.2) use version `8.0.0`
* For Xcode 9 (Swift 4) use version `7.1.0`
Expand Down

0 comments on commit 276796e

Please sign in to comment.