Skip to content
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

docs: update Package.swift with updated SPM spec #645

Merged
merged 1 commit into from
Oct 11, 2022
Merged
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: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ import struct Foundation.URL
name: "YourNameHere",
platforms: [.macOS(.v10_15), .iOS(.v13)],
dependencies: [
.package(name: "AWSSwiftSDK", path: "/Users/<YourUserName>/Projects/Amplify/SwiftSDK/aws-sdk-swift")
.package(path: "/Users/<YourUserName>/Projects/Amplify/SwiftSDK/aws-sdk-swift")
],
targets: [
.target(
name: "YourNameHere",
dependencies: [.product(name: "S3", package: "AWSSwiftSDK")])
dependencies: [.product(name: "AWSS3", package: "aws-sdk-swift")])
]
)
*/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ let package = Package(
name: "TestSdk",
platforms: [.macOS(.v10_15), .iOS(.v13)],
dependencies: [
.package(name: "AWSSwiftSDK", url: "https://github.com/awslabs/aws-sdk-swift", from: "0.1.0"),
.package(url: "https://github.com/awslabs/aws-sdk-swift", from: "0.1.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "TestSdk",
dependencies: [.product(name: "AWSCognitoIdentity", package: "AWSSwiftSDK")]),
dependencies: [.product(name: "AWSCognitoIdentity", package: "aws-sdk-swift")]),
.testTarget(
name: "TestSdkTests",
dependencies: ["TestSdk"]),
Expand Down