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

module 'AWSS3' was not compiled for testing #3877

Closed
chriswindings opened this issue Sep 19, 2024 · 4 comments
Closed

module 'AWSS3' was not compiled for testing #3877

chriswindings opened this issue Sep 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@chriswindings
Copy link

Describe the bug

Running into error module 'AWSS3' was not compiled for testing when running xcodebuild in our CICD pipeline.

Steps To Reproduce

Build the app in CICD pipeline using fastlane to run xcodebuild

Expected behavior

Expects to build the app archive, but fails to build, pointing to the usage of the @testable attribute as the cause of failure.

Amplify Framework Version

2.41.0

Amplify Categories

Storage

Dependency manager

Swift PM

Swift version

5.8

CLI version

12.11.1

Xcode version

16.0

Relevant log output

[15:06:56]: ▸ [AWSS3StoragePlugin] Copy AWSS3StoragePlugin.modulemap -> AWSS3StoragePlugin.modulemap
[15:06:56]: ▸ ::error file=/Users/runner/Library/Developer/Xcode/DerivedData/*****/SourcePackages/checkouts/amplify-swift/AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift,line=8,col=18::module 'AWSS3' was not compiled for testing
[15:06:56]: ▸ @testable import AWSS3

Is this a regression?

Yes

Regression additional context

2.40.0 works fine, issue introduced in 2.41.0

Platforms

iOS

OS Version

iOS 18 / macOS 15.0

Device

iPhone 15 Pro

Specific to simulators

No response

Additional context

No response

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify team member labels Sep 19, 2024
@phantumcode
Copy link
Member

@chriswindings Thanks for submitting the issue. We'll work on removing the @testable import and push out a fix release.

@phantumcode phantumcode added the bug Something isn't working label Sep 19, 2024
@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify team member label Sep 19, 2024
@xxza-cognizant
Copy link

I was going to raise the same issue, glad to see it has been fixed. Thanks Amplify team

@github-actions github-actions bot added the pending-maintainer-response Issue is pending response from an Amplify team member label Sep 19, 2024
@ruisebas ruisebas added pending-release Code has been merged but pending release Code has been merged but pending release and removed pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify team member labels Sep 19, 2024
@phantumcode
Copy link
Member

Fixed in release v2.41.1

@github-actions github-actions bot removed the pending-release Code has been merged but pending release Code has been merged but pending release label Sep 19, 2024
Copy link
Contributor

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants