Skip to content

Commit

Permalink
Merge pull request #705 from aiKrice/update_swift_5_10
Browse files Browse the repository at this point in the history
Update packgage and project for Swift 5.10
  • Loading branch information
rechsteiner authored Apr 14, 2024
2 parents 7585f77 + 73d9aec commit d6f6a2a
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.9
// swift-tools-version:5.10
import PackageDescription

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion Parchment.podspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"git": "https://github.com/rechsteiner/Parchment.git",
"tag": "v3.3.0"
},
"swift_version": "5.9",
"swift_version": "5.10",
"platforms": {
"ios": "12.0"
},
Expand Down
8 changes: 7 additions & 1 deletion Parchment.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
95FEEA4D2423C44A009B5B64 /* MockPageViewManagerDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95FEEA4C2423C44A009B5B64 /* MockPageViewManagerDelegate.swift */; };
95FEEA4F2423F213009B5B64 /* PageViewManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95FEEA4E2423F213009B5B64 /* PageViewManager.swift */; };
95FEEA512423F752009B5B64 /* MockPageViewManagerDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95FEEA502423F752009B5B64 /* MockPageViewManagerDataSource.swift */; };
DAD34A632BA5B08900069395 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = DAD34A622BA5B08900069395 /* README.md */; };
E8CB720A23D70E1400A9B089 /* PagingMenuPosition.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8CB720923D70E1400A9B089 /* PagingMenuPosition.swift */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -336,6 +337,7 @@
95FEEA4C2423C44A009B5B64 /* MockPageViewManagerDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockPageViewManagerDelegate.swift; sourceTree = "<group>"; };
95FEEA4E2423F213009B5B64 /* PageViewManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PageViewManager.swift; sourceTree = "<group>"; };
95FEEA502423F752009B5B64 /* MockPageViewManagerDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockPageViewManagerDataSource.swift; sourceTree = "<group>"; };
DAD34A622BA5B08900069395 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
E8CB720923D70E1400A9B089 /* PagingMenuPosition.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PagingMenuPosition.swift; sourceTree = "<group>"; };
E9D1BE1D211E409400E86B72 /* PagingMenuItemSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PagingMenuItemSource.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -475,6 +477,7 @@
3EA04A411C53BFE40054E5E0 = {
isa = PBXGroup;
children = (
DAD34A622BA5B08900069395 /* README.md */,
3EA04A4D1C53BFE40054E5E0 /* Parchment */,
3E504EC51C7465B000AE1CE3 /* ParchmentTests */,
95D2AE42242BC1FA00AC3D46 /* ParchmentUITests */,
Expand Down Expand Up @@ -878,7 +881,7 @@
attributes = {
BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 1130;
LastUpgradeCheck = 1520;
LastUpgradeCheck = 1530;
ORGANIZATIONNAME = "Martin Rechsteiner";
TargetAttributes = {
3E504EC31C7465B000AE1CE3 = {
Expand Down Expand Up @@ -944,6 +947,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DAD34A632BA5B08900069395 /* README.md in Resources */,
95ED82642B5056AC0055227B /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -1225,6 +1229,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
Expand Down Expand Up @@ -1286,6 +1291,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
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 = "1520"
LastUpgradeVersion = "1530"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
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 = "1520"
LastUpgradeVersion = "1530"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
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 = "1520"
LastUpgradeVersion = "1530"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,23 +513,23 @@ Parchment will be compatible with the lastest public release of Swift.
Parchment is available through [CocoaPods](https://cocoapods.org). To install it, add the following to your `Podfile`:

```
pod 'Parchment', '~> 3.3'
pod 'Parchment', '~> 3.4'
```

### Swift Package Manager

Parchment is available through [Swift Package Manager](https://swift.org/package-manager/). Add Parchment as a dependency to your `Package.swift`:

```Swift
.package(url: "https://github.com/rechsteiner/Parchment", from: "3.3.0")
.package(url: "https://github.com/rechsteiner/Parchment", from: "3.4.0")
```

### Carthage

Parchment also supports [Carthage](https://github.com/Carthage/Carthage). To install it, add the following to your `Cartfile`:

```
github "rechsteiner/Parchment" ~> 3.3
github "rechsteiner/Parchment" ~> 3.4
```

See [this guide](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) for more details on using Carthage.
Expand Down

0 comments on commit d6f6a2a

Please sign in to comment.