Hello,
I had the same problem after updating to OSX 10.8.
Since I wanted to connect to my NXT via bluetooth again, I spent some time with Objective C, IOBlootooth.framework and maven2. My objective was not to fix or update bluecove, but to be able to use leJOS with bluetooth again. I did some ugly things like returnig services of the host adapter without truly requesting (I did not find a suitable method in IOBluetooth now) or commenting out deprecated code I did not understand.
As a result of my effort I built this patch for the svn-version of bluecove. The resulting "jar" worked for my NXT at least for uploading and for data logging but I am sure, that some functionality of bluecove will be lost or will lead to unstable behaviour.
You can download my patch here:
https://docs.google.com/file/d/0B-GAbqyW_Z6UY0JNU2puRE95QTA/edit?usp=sharingget bluecove with
- Code: Select all
svn checkout http://bluecove.googlecode.com/svn/trunk bluecove-parent
copy bluecove.patch to ./bluecove-parent
- Code: Select all
cp bluecove.patch ./bluecove-parent
and cd to ./bluecove-parent
- Code: Select all
cd bluecove-parent
apply the patch with
- Code: Select all
patch -p1 < bluecove.patch
and start the build process with
- Code: Select all
mvn -Dmaven.test.skip=true
Not all the targeds will be built successfully but you will find what you need in the subfolder
- Code: Select all
./bluecove/target
You can then make bluecove-2.1.1-SNAPSHOT.jar available for your leJOS build system.
I hope, that this patch will help some of you in order to use leJOS with bluetooth support again on OSX 10.8.
Kind regards
Wulf