Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 6.0
Comment thread
kieran-osgood-shopify marked this conversation as resolved.
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down Expand Up @@ -66,5 +66,6 @@ let package = Package(
],
path: "platforms/swift/Tests/ShopifyAcceleratedCheckoutsTests"
)
]
],
swiftLanguageModes: [.v6]
)
2 changes: 1 addition & 1 deletion ShopifyCheckoutKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
:git => "https://github.com/Shopify/checkout-kit.git", :tag => s.version.to_s
}

s.swift_version = "5.0"
s.swift_version = "6.0"

s.ios.deployment_target = "15.0"

Expand Down
2 changes: 1 addition & 1 deletion platforms/swift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

## Requirements

- Swift Package Manager with Swift tools 5.9+
- Swift Package Manager with Swift tools 6.0+
- iOS 15.0+ for `ShopifyCheckoutKit`
- iOS 16.0+ for `ShopifyAcceleratedCheckouts`
- A checkout URL from `cart.checkoutUrl` or a cart permalink
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down Expand Up @@ -514,7 +514,7 @@
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand All @@ -531,7 +531,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.shopify.example.ShopifyAcceleratedCheckoutsAppTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -548,7 +548,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.shopify.example.ShopifyAcceleratedCheckoutsAppTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand All @@ -564,7 +564,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.shopify.example.ShopifyAcceleratedCheckoutsAppUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = ShopifyAcceleratedCheckoutsApp;
};
Expand All @@ -581,7 +581,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.shopify.example.ShopifyAcceleratedCheckoutsAppUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 6.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = ShopifyAcceleratedCheckoutsApp;
};
Expand Down
4 changes: 2 additions & 2 deletions platforms/swift/api/ShopifyCheckoutProtocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,8 @@
}
],
"declKind": "Func",
"usr": "s:23ShopifyCheckoutProtocol0bC0O6ClientV2on_7performAeA22NotificationDescriptorVyxG_yxScMYcctAA12EventPayloadRzlF",
"mangledName": "$s23ShopifyCheckoutProtocol0bC0O6ClientV2on_7performAeA22NotificationDescriptorVyxG_yxScMYcctAA12EventPayloadRzlF",
"usr": "s:23ShopifyCheckoutProtocol0bC0O6ClientV2on_7performAeA22NotificationDescriptorVyxG_yxYbScMYcctAA12EventPayloadRzlF",
"mangledName": "$s23ShopifyCheckoutProtocol0bC0O6ClientV2on_7performAeA22NotificationDescriptorVyxG_yxYbScMYcctAA12EventPayloadRzlF",
"moduleName": "ShopifyCheckoutProtocol",
"genericSig": "<P where P : ShopifyCheckoutProtocol.EventPayload>",
"declAttributes": [
Expand Down
Loading