Skip to content

Build QRCode as an SDK dependency #32

Description

@vlasty-proglove

Hi,

I am currently working on an SDK, and I need this framework as a dependency.
The problem I am having is that it will not build as a dependency because of some name collisions.

This problem is only when building the framework in my case also an xcframework and I have QRCode as a dependency.

Mainly, the problem is that the library's name is the same as the main public class (QRCode).

The solution is to rename the library to for example "QRCodeLibrary", and also the Source folder to "Sources/QRCodeLibrary".

That means that the import statement would be import QRCodeLibrary, and it will create a breaking change only there.

I will fork the library for now but can submit a PR for you to check what I mean.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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