Skip to content

Not able to access BNCErrorCode through SPM #50

@vkumark-24

Description

@vkumark-24

Describe the bug

I was consuming branch sdk through cocoa pods previously and was able to access BNCErrorCode enum in my code and handle errors accordingly. But recently when I switched to SPM I'm noticing that I'm not able to access this enum.

Can we expose this enum through SPM so that we can access this enum and handle error accordingly.

Steps to reproduce

  1. Install BranchSDK through SPM
  2. Access BNCErrorCode in your code
  3. Build fails since BNCErrorCode cannot be accessed.

Expected behavior

Can BNCErrorCode be kept accessible same as how we do it through pods

SDK Version

3.13.3

XCode Version

16.4

Device

iPhone 16

OS

26

Additional Information/Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions