Comments (5)
Apple removed the IOBluetoothLocalDeviceReadAddress
and IOBluetoothLocalDeviceReadClassOfDevice
, among others from IOBluetoothUserLib.h
since MacOS 10.8 (see API diff). I don't know what to replace those methods with. Using LightBlue may be a dead end for MacOS 11.
from lightblue-0.4.
I have replaced the deprecated function references. The framework builds without errors and seems to be working for my use cases (PyBluez), but I don't know how to properly test it. I have opened a pull request anyway.
from lightblue-0.4.
Can you please add the link to the PR? I'd like to modify my code in the same way @JuliusNmn
from lightblue-0.4.
I got it to compile by changing line 66 in setup.py
to
os.system("xcodebuild install -arch 'x86_64' -target LightAquaBlue -configuration Release DSTROOT=/ INSTALL_PATH=/Library/Frameworks DEPLOYMENT_LOCATION=YES ALWAYS_SEARCH_USER_PATHS=NO GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS=NO OTHER_CFLAGS='-Wno-implicit-function-declaration'")
The key here is OTHER_CFLAGS='-Wno-implicit-function-declaration'
.
But after that I got a linking error.
"_IOBluetoothLocalDeviceReadAddress", referenced from:
+[BBLocalDevice getAddressString] in BBLocalDevice.o
"_IOBluetoothLocalDeviceReadClassOfDevice", referenced from:
+[BBLocalDevice getClassOfDevice] in BBLocalDevice.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1
from lightblue-0.4.
Here you go: Pull request 19
from lightblue-0.4.
Related Issues (13)
- NSInvalidArgumentException on send (El Capitain, python 2.7)
- error on Mac OS X 10.13.1
- unable to install via python HOT 1
- Can't install light blue on macOS 11.5 HOT 1
- help
- CompileC error
- Unable to successfully import lightblue after installation
- Can't Install on Mac OS 13.2.1 HOT 1
- Signature mismatch for `deviceInquiryComplete:error:aborted`
- Import error HOT 7
- No architectures to compile for (ARCHS=$(NATIVE_ARCH_ACTUAL) HOT 11
- Issue with OS X yosemite HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightblue-0.4.