Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Build error for ios version of cordova-plugin-beacon

Zhanglin_L_Intel
Employee
852 Views

I have tried to use cordova-plugin-beacon in XDK r2807, but the ios build reports link error:

  "_OBJC_CLASS_$_CBCentralManager", referenced from:
      objc-class-ref in SimpleXpBeaconPlugin.o
  "_OBJC_CLASS_$_CLBeaconRegion", referenced from:
      objc-class-ref in SimpleXpBeaconPlugin.o
  "_OBJC_CLASS_$_CLLocationManager", referenced from:
      objc-class-ref in SimpleXpBeaconPlugin.o
  "_CBCentralManagerOptionShowPowerAlertKey", referenced from:
      -[SimpleXpBeaconPlugin initialiseBluetooth:] in SimpleXpBeaconPlugin.o

According to Apple's BLE document, I have set minimum ios version is ios8, but it still reports the same error. I guess it may be this issue: https://answers.madewithmarmalade.com/questions/1709/ios-6-extension-not-linking-when-using-corebluetoo.html 

I can not find any place to add the option " iphone-link-opts='-weak_framework CoreBluetooth' ". Please help me fix it. 

Thanks!!

 

0 Kudos
1 Reply
Elroy_A_Intel
Employee
852 Views

I will escalate this to our Build team.

0 Kudos
Reply