-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typealias file seems to hide KVO properties #10
Comments
After further investigation, is not due to aliases, but the issue is due to the nature protocol of the mock |
Yes, the original |
It would be wonderful, to test that functionality I made a little trick, but I'm not liking it that much. |
@NickKibish, how is this issue related to #96? Is it fixed, or 96 solves just few cases? |
Hello,
I've added as swift package dependency CoreBluetoothMock library and added as suggested the
CoreBluetoothTypeAliases.swift
to the project. Removed any reference toimport CoreBluetooth
in my framework project.Everything seems ok, but I get an complire error here:
What I'm trying to do is to leverage KVO and combine capabilities to create a publisher for peripheral
state
changes.At the line where I try to get the publisher I get Value of type 'CBPeripheral' (aka 'CBMPeripheral') has no member 'publisher'.
I've tried also to import Foundation and Combine in the alias file, but I still get this error.
I'm using Xcode 11.5 and the 0.8.0 version of the library.
The text was updated successfully, but these errors were encountered: