Skip to content

Static version required to use with Swift PM #24

@xavier-rigau

Description

@xavier-rigau

Any framework (say F) that depends on https://github.com/mattgallagher/CwlUtils.git will use a dynamic link library if the CwlUtils is consumed as a swift package.

This creates a problem because when another application A consumed the framework F it doesn't get a copy of CwlUtils.

The workaround listed in the readme creates missing CwlFrameAddress issues in application A.

The solution is again to consume CwlUtils in application A. Looks like the SPM doesn't know how to deal the dynamic libraries.

I believe the line is here:
.library(name: "CwlUtils", type: .dynamic, targets: ["CwlUtils"]),

Does CwlUtils need to be dynamic?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions