Skip to content

Add carthage support #285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.1.3 - March 21, 2025

- Add Carthage support

## 3.1.2 - November 6, 2024

- Remove redundant code
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ pod "ShopifyCheckoutSheetKit", "~> 3"

For more information on CocoaPods, please see their [getting started guide](https://guides.cocoapods.org/using/getting-started.html).

### Carthage
Include the following dependency in your Cartfile:

```ruby
github "Shopify/checkout-sheet-kit-swift" ~> 3.0.0
```
Check out the [Carthage docs](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos) for more info.

## Programmatic Usage

Once the SDK has been added as a dependency, you can import the library:
Expand Down
572 changes: 572 additions & 0 deletions ShopifyCheckoutSheetKit.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F329681F2D8D8BC30068227E"
BuildableName = "ShopifyCheckoutSheetKit.framework"
BlueprintName = "ShopifyCheckoutSheetKit"
ReferencedContainer = "container:ShopifyCheckoutSheetKit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F32968272D8D8BC30068227E"
BuildableName = "ShopifyCheckoutSheetKitTests.xctest"
BlueprintName = "ShopifyCheckoutSheetKitTests"
ReferencedContainer = "container:ShopifyCheckoutSheetKit.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F329681F2D8D8BC30068227E"
BuildableName = "ShopifyCheckoutSheetKit.framework"
BlueprintName = "ShopifyCheckoutSheetKit"
ReferencedContainer = "container:ShopifyCheckoutSheetKit.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
17 changes: 17 additions & 0 deletions ShopifyCheckoutSheetKitTests/ShopifyCheckoutSheetKitTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// ShopifyCheckoutSheetKitTests.swift
// ShopifyCheckoutSheetKitTests
//
// Created by Breno Pinto on 3/21/25.
//

import Testing
@testable import ShopifyCheckoutSheetKit

struct ShopifyCheckoutSheetKitTests {

@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
}

}
18 changes: 18 additions & 0 deletions Sources/ShopifyCheckoutSheetKit/ShopifyCheckoutSheetKit.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// ShopifyCheckoutSheetKit.h
// ShopifyCheckoutSheetKit
//
// Created by Breno Pinto on 3/21/25.
//

#import <Foundation/Foundation.h>

//! Project version number for ShopifyCheckoutSheetKit.
FOUNDATION_EXPORT double ShopifyCheckoutSheetKitVersionNumber;

//! Project version string for ShopifyCheckoutSheetKit.
FOUNDATION_EXPORT const unsigned char ShopifyCheckoutSheetKitVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <ShopifyCheckoutSheetKit/PublicHeader.h>


Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SO
import UIKit

/// The version of the `ShopifyCheckoutSheetKit` library.
public let version = "3.1.2"
public let version = "3.1.3"

internal var invalidateOnConfigurationChange = true

Expand Down