Skip to content

Issue resolving dependencies #1

@DrAma999

Description

@DrAma999

Hello,
I'm trying to develop an executable using swift on my rasp PI using the BLE module.
I'm trying to use your library but once it tries to resolve the dependency I experience a lot of issue particularly they seems to be related to name space issues.

/home/pi/Desktop/RaspberryBLE/.build/checkouts/SwiftLinuxBLE/Sources/SwiftLinuxBLE/Characteristic.swift:10:44: error: no type named 'Permission' in module 'GATT'
    var permissions: BitMaskOptionSet<GATT.Permission> { get }

/home/pi/Desktop/RaspberryBLE/.build/checkouts/SwiftLinuxBLE/Sources/SwiftLinuxBLE/Characteristic.swift:11:43: error: 'Descriptor' is not a member type of generic struct 'GATT.Characteristic'
    var descriptors: [GATT.Characteristic.Descriptor] { get }
// ... and so on

I think that probably they are due to a missmatched versions between the current version of SwiftLinuxBLE and the PureSwift side.
The swift version I have installed on my Raspberry is the 5.5, using the latest 64 version of Rasperry PI OS, but I also experience the same issue while tryins to build on macOS.
Have you any suggestions about how the get rid of this errors and make the library compile?
Best,
Andrea

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