-
Notifications
You must be signed in to change notification settings - Fork 198
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
visionOS AWSS3StoragePlugin Compilation Issue #3528
Comments
@LarissaKim Thanks for bringing this issue to our attention. We have a fix ready that is being verified internally. Once deployed, we will update the ticket. |
Hello @LarissaKim, We have put in a fix to the |
|
@harsh62 @thisisabhash I appreciate the prompt update. I removed the package, cleaned the build folder, restarted Xcode, then re-installed Amplify and AWSS3StoragePlugin. The errors regarding the missing files has resolved, however, I still can't run the project in the simulator due to the following
Is |
@LarissaKim Can you please try resetting your package cache and updating. If you see the linked PR, it has the fix for the error you are seeing. Xcode, File-->Swift Packages-->Reset Package Caches. |
Are you able to see the latest commit |
@harsh62 @thisisabhash Ah indeed it was still the old commit. I can confirm |
Describe the bug
I'm unable to run a project in the visionOS simulator after adding
AWSS3StoragePlugin
as a dependency via Swift PM (no configuration or reference in codebase, just install). I am able to run the project whenAWSCognitoAuthPlugin
is installed, configured, and used in the codebase. It just seems to be S3 that's the issue. Have I missed a step in the package installation?No such file or directory
errors for the following files (only seems to happen when visionOS 1.1 set as minimum deployment):AWSS3StoragePlugin.abi
AWSS3StoragePlugin.swiftdoc
AWSStoragePlugin.swiftmodule
AWSS3StoragePlugin.swiftsourceinfo
Command SwiftCompile failed with a nonzero exit code
errors (happens for both visionOS 1.0 and 1.1 set as minimum deployment):/Users/REDACTED/Library/Developer/Xcode/DerivedData/REDACTED/SourcePackages/checkouts/amplify-swift/AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Support/Internal/Attempt.swift:16:68 Cannot convert value of type '(any Error) -> Void' to closure result type '()'
/Users/REDACTED/Library/Developer/Xcode/DerivedData/REDACTED/SourcePackages/checkouts/amplify-swift/AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Support/Internal/Attempt.swift:32:65 Cannot convert value of type '(any Error) -> Void' to closure result type '()'
Steps To Reproduce
Expected behavior
I expect to be able to compile and run the project in the simulator after just installing the dependencies and the
AWSS3StoragePlugin
is not yet used anywhere in the codebase.Amplify Framework Version
visionos-preview (61994b9)
Amplify Categories
Storage
Dependency manager
Swift PM
Swift version
5.9.2
CLI version
N/A
Xcode version
Version 15.3 beta 2 (15E5188j)
Relevant log output
No response
Is this a regression?
No
Regression additional context
I have not previously created projects for visionOS with this package before.
Platforms
visionOS (Preview)
OS Version
visionOS 1.0 / visionOS 1.1
Device
Apple Vision Pro (only using simulator at the moment)
Specific to simulators
Apple Vision Pro
Additional context
No response
The text was updated successfully, but these errors were encountered: