aws-amplify / aws-sdk-ios

AWS SDK for iOS. For more information, see our web site:
https://aws-amplify.github.io/docs
Other
1.68k stars 885 forks source link

Invalid archive - Found multiple frameworks with the same unarchiving destination #3430

Closed dmiluski closed 3 years ago

dmiluski commented 3 years ago

Describe the bug

Unable to install latest 2.2.2, using Carthage 0.37.0. Invalid archive - Found multiple frameworks with the same unarchiving destination

While we use Carthage cache to speed up CI builds (~9 min), each dependency update due to the large size of AWS SDK items can push CI build time well over an hour (90+ min causing failures). I was seeing if this was a known issue? Or if others are seeing this?

For me this is a problem as version 2.2.0 runs into this issue: "Incompatible Swift version - framework was built with 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1) and the local version is 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)."

Potentially, could the dynamic frameworks also be uploaded along side of the XCFrameworks with the releases to ease the pain during this transition?

To Reproduce

Steps to reproduce the behavior:

Carthage Error Implementation

carthage version
0.37.0

carthage update --platform ios --cache-builds --use-netrc --use-xcframeworks
...
*** Checking out aws-sdk-ios at "2.22.2"
...
***  Skipped installing aws-sdk-ios.framework binary due to the error:
    "Invalid archive - Found multiple frameworks with the same unarchiving destination:
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSConnect.xcframework/ios-arm64_i386_x86_64-simulator/AWSConnect.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSConnect.xcframework/ios-arm64_armv7/AWSConnect.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSConnect.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCognitoIdentityProvider.xcframework/ios-arm64_i386_x86_64-simulator/AWSCognitoIdentityProvider.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCognitoIdentityProvider.xcframework/ios-arm64_armv7/AWSCognitoIdentityProvider.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSCognitoIdentityProvider.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSComprehend.xcframework/ios-arm64_i386_x86_64-simulator/AWSComprehend.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSComprehend.xcframework/ios-arm64_armv7/AWSComprehend.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSComprehend.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesisVideoSignaling.xcframework/ios-arm64_i386_x86_64-simulator/AWSKinesisVideoSignaling.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesisVideoSignaling.xcframework/ios-arm64_armv7/AWSKinesisVideoSignaling.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSKinesisVideoSignaling.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCore.xcframework/ios-arm64_i386_x86_64-simulator/AWSCore.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCore.xcframework/ios-arm64_armv7/AWSCore.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSCore.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSRekognition.xcframework/ios-arm64_i386_x86_64-simulator/AWSRekognition.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSRekognition.xcframework/ios-arm64_armv7/AWSRekognition.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSRekognition.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAuthCore.xcframework/ios-arm64_i386_x86_64-simulator/AWSAuthCore.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAuthCore.xcframework/ios-arm64_armv7/AWSAuthCore.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSAuthCore.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTranslate.xcframework/ios-arm64_i386_x86_64-simulator/AWSTranslate.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTranslate.xcframework/ios-arm64_armv7/AWSTranslate.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSTranslate.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTranscribeStreaming.xcframework/ios-arm64_i386_x86_64-simulator/AWSTranscribeStreaming.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTranscribeStreaming.xcframework/ios-arm64_armv7/AWSTranscribeStreaming.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSTranscribeStreaming.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSUserPoolsSignIn.xcframework/ios-arm64_i386_x86_64-simulator/AWSUserPoolsSignIn.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSUserPoolsSignIn.xcframework/ios-arm64_armv7/AWSUserPoolsSignIn.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSUserPoolsSignIn.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSQS.xcframework/ios-arm64_i386_x86_64-simulator/AWSSQS.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSQS.xcframework/ios-arm64_armv7/AWSSQS.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSSQS.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAPIGateway.xcframework/ios-arm64_i386_x86_64-simulator/AWSAPIGateway.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAPIGateway.xcframework/ios-arm64_armv7/AWSAPIGateway.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSAPIGateway.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSMachineLearning.xcframework/ios-arm64_i386_x86_64-simulator/AWSMachineLearning.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSMachineLearning.xcframework/ios-arm64_armv7/AWSMachineLearning.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSMachineLearning.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSFacebookSignIn.xcframework/ios-arm64_i386_x86_64-simulator/AWSFacebookSignIn.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSFacebookSignIn.xcframework/ios-arm64_armv7/AWSFacebookSignIn.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSFacebookSignIn.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAuthUI.xcframework/ios-arm64_i386_x86_64-simulator/AWSAuthUI.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAuthUI.xcframework/ios-arm64_armv7/AWSAuthUI.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSAuthUI.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTextract.xcframework/ios-arm64_i386_x86_64-simulator/AWSTextract.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTextract.xcframework/ios-arm64_armv7/AWSTextract.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSTextract.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLocation.xcframework/ios-arm64_i386_x86_64-simulator/AWSLocation.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLocation.xcframework/ios-arm64_armv7/AWSLocation.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSLocation.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCognitoAuth.xcframework/ios-arm64_i386_x86_64-simulator/AWSCognitoAuth.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCognitoAuth.xcframework/ios-arm64_armv7/AWSCognitoAuth.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSCognitoAuth.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSMobileClientXCF.xcframework/ios-arm64_i386_x86_64-simulator/AWSMobileClientXCF.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSMobileClientXCF.xcframework/ios-arm64_armv7/AWSMobileClientXCF.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSMobileClientXCF.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSConnectParticipant.xcframework/ios-arm64_i386_x86_64-simulator/AWSConnectParticipant.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSConnectParticipant.xcframework/ios-arm64_armv7/AWSConnectParticipant.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSConnectParticipant.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSES.xcframework/ios-arm64_i386_x86_64-simulator/AWSSES.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSES.xcframework/ios-arm64_armv7/AWSSES.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSSES.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSDynamoDB.xcframework/ios-arm64_i386_x86_64-simulator/AWSDynamoDB.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSDynamoDB.xcframework/ios-arm64_armv7/AWSDynamoDB.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSDynamoDB.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKMS.xcframework/ios-arm64_i386_x86_64-simulator/AWSKMS.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKMS.xcframework/ios-arm64_armv7/AWSKMS.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSKMS.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLex.xcframework/ios-i386_x86_64-simulator/AWSLex.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLex.xcframework/ios-arm64_armv7/AWSLex.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSLex.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesisVideo.xcframework/ios-arm64_i386_x86_64-simulator/AWSKinesisVideo.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesisVideo.xcframework/ios-arm64_armv7/AWSKinesisVideo.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSKinesisVideo.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesisVideoArchivedMedia.xcframework/ios-arm64_i386_x86_64-simulator/AWSKinesisVideoArchivedMedia.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesisVideoArchivedMedia.xcframework/ios-arm64_armv7/AWSKinesisVideoArchivedMedia.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSKinesisVideoArchivedMedia.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAutoScaling.xcframework/ios-arm64_i386_x86_64-simulator/AWSAutoScaling.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAutoScaling.xcframework/ios-arm64_armv7/AWSAutoScaling.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSAutoScaling.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCognitoIdentityProviderASF.xcframework/ios-arm64_i386_x86_64-simulator/AWSCognitoIdentityProviderASF.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCognitoIdentityProviderASF.xcframework/ios-arm64_armv7/AWSCognitoIdentityProviderASF.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSCognitoIdentityProviderASF.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCloudWatch.xcframework/ios-arm64_i386_x86_64-simulator/AWSCloudWatch.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSCloudWatch.xcframework/ios-arm64_armv7/AWSCloudWatch.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSCloudWatch.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSS3.xcframework/ios-arm64_i386_x86_64-simulator/AWSS3.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSS3.xcframework/ios-arm64_armv7/AWSS3.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSS3.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTranscribe.xcframework/ios-arm64_i386_x86_64-simulator/AWSTranscribe.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSTranscribe.xcframework/ios-arm64_armv7/AWSTranscribe.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSTranscribe.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSimpleDB.xcframework/ios-arm64_i386_x86_64-simulator/AWSSimpleDB.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSimpleDB.xcframework/ios-arm64_armv7/AWSSimpleDB.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSSimpleDB.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLogs.xcframework/ios-arm64_i386_x86_64-simulator/AWSLogs.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLogs.xcframework/ios-arm64_armv7/AWSLogs.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSLogs.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSPinpoint.xcframework/ios-arm64_i386_x86_64-simulator/AWSPinpoint.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSPinpoint.xcframework/ios-arm64_armv7/AWSPinpoint.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSPinpoint.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSGoogleSignIn.xcframework/ios-arm64_i386_x86_64-simulator/AWSGoogleSignIn.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSGoogleSignIn.xcframework/ios-arm64_armv7/AWSGoogleSignIn.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSGoogleSignIn.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAppleSignIn.xcframework/ios-arm64_x86_64-simulator/AWSAppleSignIn.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSAppleSignIn.xcframework/ios-arm64/AWSAppleSignIn.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSAppleSignIn.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesis.xcframework/ios-arm64_i386_x86_64-simulator/AWSKinesis.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSKinesis.xcframework/ios-arm64_armv7/AWSKinesis.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSKinesis.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSageMakerRuntime.xcframework/ios-arm64_i386_x86_64-simulator/AWSSageMakerRuntime.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSageMakerRuntime.xcframework/ios-arm64_armv7/AWSSageMakerRuntime.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSSageMakerRuntime.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSNS.xcframework/ios-arm64_i386_x86_64-simulator/AWSSNS.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSSNS.xcframework/ios-arm64_armv7/AWSSNS.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSSNS.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSIoT.xcframework/ios-arm64_i386_x86_64-simulator/AWSIoT.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSIoT.xcframework/ios-arm64_armv7/AWSIoT.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSIoT.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSElasticLoadBalancing.xcframework/ios-arm64_i386_x86_64-simulator/AWSElasticLoadBalancing.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSElasticLoadBalancing.xcframework/ios-arm64_armv7/AWSElasticLoadBalancing.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSElasticLoadBalancing.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSPolly.xcframework/ios-arm64_i386_x86_64-simulator/AWSPolly.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSPolly.xcframework/ios-arm64_armv7/AWSPolly.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSPolly.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSEC2.xcframework/ios-arm64_i386_x86_64-simulator/AWSEC2.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSEC2.xcframework/ios-arm64_armv7/AWSEC2.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSEC2.framework/
*   file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLambda.xcframework/ios-arm64_i386_x86_64-simulator/AWSLambda.framework/
    file:///var/folders/ks/ffsh1zgn35s56mynz581zzt40000gq/T/carthage-archive.h8xNjf/AWSLambda.xcframework/ios-arm64_armv7/AWSLambda.framework/ 
        to:
    file:///Users/danemiluski/code/straightaway-ios/Carthage/Build/iOS/AWSLambda.framework/"

    Falling back to building from the source

Observed Behavior

release xcframework should be installed rather than building schemes

Expected Behavior

xcframework are downloaded rather than seeing this failure and building all schemes (resulting in lengthy builds)

Stack Trace Please provide a stack trace if applicable e.g. a crash is occurring.

Code Snippet

// Cartfile

github "aws-amplify/aws-sdk-ios" ~> 2.0

Cartfile.resolved

github "aws-amplify/aws-sdk-ios" "2.22.2"

Unique Configuration

Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?

These were the frameworks our app was using prior to initiating the transition to xcframework.

AWSCognitoIdentityProviderASF AWSCognitoAuth AWSAuthCore AWSCore AWSPinpoint AWSMobileClient

Screenshots If applicable, add screenshots to help explain your problem.

Environment(please complete the following information):

Device Information (please complete the following information):

Additional context Add any other context about the problem here like your specific use case.

Relevant Console Output

N/A

royjit commented 3 years ago

Looks like carthage archive is not supported in the latest Carthage which is used to create the prebuilt zip file. Raised an issue in Carthage repo to get more information - https://github.com/Carthage/Carthage/issues/3130.

dmiluski commented 3 years ago

Thanks @royjit , I'm following along the in flight Pr for support https://github.com/Carthage/Carthage/pull/3123

Hoping to bring our initial CI build times down soon

lawmicha commented 3 years ago

I can see https://github.com/Carthage/Carthage/pull/3123 is merged in, just checking in to see if ths can be closed or if there are any other actions to take @royjit, and @dmiluski are you unblocked?

dmiluski commented 3 years ago

I can see https://github.com/Carthage/Carthage/pull/3123 is merged in, just checking in to see if ths can be closed or if there are any other actions to take @royjit, and @dmiluski are you unblocked?

@lawmicha i've fully moved over to SwiftPM and unblocked

diegocstn commented 3 years ago

@dmiluski I'll close this for now, but feel free to reopen if you need help with SPM

JeneaVranceanu commented 3 years ago

Had a similar issue with MobileVLCKit while using Carthage 0.36.0 with XCode 13.0 (13A233) on macOS Big Sur 11.6 (20G165).

Fixed the issue by upgrading the Carthage to 0.38.0.