0

Can't figure this out. Tried making a completely new project and it still doesn't work. This app uses GoogleMaps. Error below:

Undefined symbols for architecture i386:
"_CBAdvertisementDataManufacturerDataKey", referenced from: -[GMSx_PEBeaconScanner centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in GoogleMaps(PEBeaconScanner.o) "_CBAdvertisementDataServiceDataKey", referenced from: -[GMSx_PEBeaconScanner centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in GoogleMaps(PEBeaconScanner.o)
"_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from: -[GMSx_PEBeaconScanner scanIfAppropriate] in GoogleMaps(PEBeaconScanner.o) "_OBJC_CLASS_$_CBCentralManager", referenced from: objc-class-ref in GoogleMaps(PEBeaconScanner.o) "_OBJC_CLASS_$_CBUUID", referenced from: objc-class-ref in GoogleMaps(PEBeacon.o) objc-class-ref in GoogleMaps(PEBeaconScanner.o) "_vImageBoxConvolve_Planar8", referenced from: (anonymous namespace)::CreateBlurredImage(CGImage*, float, float) in GoogleMaps(GLWaterGroup.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

HaveNoDisplayName
  • 8,291
  • 106
  • 37
  • 47
George
  • 322
  • 1
  • 6
  • 25

1 Answers1

3

Try importing CoreBluetooth.framework and Accelerate.framework. Also use "-ObjC" instead of "-all_load" in under "Other Linker Flags".

You can refer colink's reply in GoogleMapsSDK : Undefined symbols for architecture x86_64

Community
  • 1
  • 1
Khushboo
  • 1,208
  • 1
  • 8
  • 19