I saw it in the .h file.
I am using the githib EVOBLE.m and EVOBLE.h, shouldn't they have all the ref's in them?
I did also check the Bluetooth option in the app settings.
Evothings BLE plugin not compiling on xcode 6.1
Re: Evothings BLE plugin not compiling on xcode 6.1
Hi,
I guess it would not work to just take EVOBLE.m and EVOBLE.h and add to the Xcode project. Try adding the actual plugin using Cordova.
A test you can do is to create a Cordova test project and add the BLE plugin and see if it builds in Xcode.
To create the project:
cordova create bletest com.mydomain.bletest BLETest
cd bletest
cordova plugin add https://github.com/evothings/cordova-ble.git
cordova platform add ios
cordova build ios
Then open the Xcode project and see if it runs on a device.
If this works, you can compare the settings of the projects to find out what is different.
Best, Mikael
I guess it would not work to just take EVOBLE.m and EVOBLE.h and add to the Xcode project. Try adding the actual plugin using Cordova.
A test you can do is to create a Cordova test project and add the BLE plugin and see if it builds in Xcode.
To create the project:
cordova create bletest com.mydomain.bletest BLETest
cd bletest
cordova plugin add https://github.com/evothings/cordova-ble.git
cordova platform add ios
cordova build ios
Then open the Xcode project and see if it runs on a device.
If this works, you can compare the settings of the projects to find out what is different.
Best, Mikael
Re: Evothings BLE plugin not compiling on xcode 6.1
Apparently I was missing the Bluetooth.framework.
Now it compiled successfully and I generated an .ipa file.
Moving on for testing, Thanks.
Now it compiled successfully and I generated an .ipa file.
Moving on for testing, Thanks.
Re: Evothings BLE plugin not compiling on xcode 6.1
Just a short update, got it running smoothly on my iphone 5S as it ran on my Nexus 5.
The difference was that the corebluetooth.framework was required to be physically added in Xcode to the
project under frameworks in the general tab.
I am using MBaaS technologies and not all of them support out of the box references to all the relevant frameworks
although you could select the Bluetoothle option it was lucking the core framework ref.
The difference was that the corebluetooth.framework was required to be physically added in Xcode to the
project under frameworks in the general tab.
I am using MBaaS technologies and not all of them support out of the box references to all the relevant frameworks
although you could select the Bluetoothle option it was lucking the core framework ref.
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 47 guests