Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Problem building in xCode 7 beta 5 #6

Open
henryblackman opened this issue Aug 11, 2015 · 1 comment
Open

Problem building in xCode 7 beta 5 #6

henryblackman opened this issue Aug 11, 2015 · 1 comment

Comments

@henryblackman
Copy link

Hello. I'm seeing the following error when building in xCode 7 (beta 5) with a project that includes the latest version of this plugin:

..../Plugins/cordova-plugin-chrome-apps-bluetooth/ChromeBluetooth.m:474:22: Property 'isConnected' not found on object of type 'CBPeripheral *'

My project won't now build, although it does merrily in xCode 6.4. I realise this version of xCode is a beta - but I thought I should put it out there.

@CookieCookson
Copy link

As a quick fix I commented out this statement and return on cleanup to get it to compile OK.

//if (!_peripheral.isConnected) {
return;
//}

I have no idea if this will affect the performance in any other way as it is a cleanup function but everything seems to be working ok! Let me know if you find a proper solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants