While having public code with some types from native frameworks other than foundation , I'm getting an error:
/iosArm64/swiftBuild/.build/arm64-apple-macosx/release/BleCommunication.build/BleCommunication-Swift.h:366:33: error: unknown type name 'CBManagerState'
The code which I have is very simple
import CoreBluetooth
public static var state: CBManagerState { .unknown }
Currently I've wrapped my enum, but it's not a best trick.
Can we specify headers or other options?
While having public code with some types from native frameworks other than foundation , I'm getting an error:
/iosArm64/swiftBuild/.build/arm64-apple-macosx/release/BleCommunication.build/BleCommunication-Swift.h:366:33: error: unknown type name 'CBManagerState'
The code which I have is very simple
Currently I've wrapped my enum, but it's not a best trick. Can we specify headers or other options?