Skip to content

Carthage installation produces duplicate SDWebImage.framework causing archive export to fail #96

Closed
@jonkan

Description

@jonkan

We're using Carthage and got a weird "Code signing SDWebImage.framework failed." when exporting our app.
SDWebImage fail

Apparently this was due to the xcode-project being configured to embed SDWebImage.framework in the SDWebImageSwiftUI.framework, causing duplicates as:

Build/iOS/SDWebImageSwiftUI.framework/Frameworks/SDWebImage.framework
Build/iOS/SDWebImage.framework

Changing to "Do Not Embed" and rebuilding solved it.
Screenshot 2020-04-09 at 15 49 34

Cartfile.resolved:

github "SDWebImage/SDWebImage" "5.7.1"
github "SDWebImage/SDWebImageSwiftUI" "1.3.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions