awslabs / aws-sdk-swift

Apache License 2.0
400 stars 80 forks source link

Your Readme.md is OUTDATED! #1003

Open dpalme3160 opened 1 year ago

dpalme3160 commented 1 year ago

Describe the issue

Per Apple, you cannot use the editor and a package.swift file at the same time. You keep referencing this in your doc and that isn't working. Can you please update this?

Links

https://github.com/awslabs/aws-sdk-swift/blob/main/README.md

jbelkins commented 1 year ago

I'm not sure I understand the issue you are having. Can you please identify the step in the README that is giving you trouble, and what happens when you attempt it?

dpalme3160 commented 1 year ago

The problem is adding the SDK to an existing project. You still reference using a Package.swift file which apple says is wrong. Also, I tried installing it with the most current version, and it continues to say it cannot find the DynamoDbClient. If I downgrade to 0.2.6 version it works just fine. I'm using the latest stable version of xcode and IOS.

I thought those instructions were recently updated but I don't see anywhere where that is the case. If you are installing the sdk via the package manager File | Packages, a Package.swift file is not present. The system manages it internally.

If I am missing something please let me know and I'll retract my ticket.

jbelkins commented 1 year ago

@dpalme3160 Are you integrating the AWS SDK for Swift into an iOS app or other app contained in an Xcode project? If so, follow these instructions & not the "Installing the AWS SDK for Swift into your Swift Package" section: https://github.com/awslabs/aws-sdk-swift#installing-the-aws-sdk-for-swift-into-your-xcode-project

If you're integrating into another Swift package, then you follow these instructions to add AWS SDK for Swift to that package's manifest: https://github.com/awslabs/aws-sdk-swift#installing-the-aws-sdk-for-swift-into-your-swift-package

Not sure what you mean by Apple says it's "wrong" to edit a Package.swift file; if you cite their docs for me and describe what you're trying to do, perhaps I can clarify.