-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working