gpt4 book ai didi

ios - 谷歌地图SDK : Undefined symbols for architecture x86_64

转载 作者:IT王子 更新时间:2023-10-29 08:04:18 25 4
gpt4 key购买 nike

我正在尝试安装 Google map SDK,但在运行时出现此错误:

Undefined symbols for architecture x86_64:
"_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*, double, double) in GoogleMaps(GLWaterGroup.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

当我升级使用手动安装的旧版 Google map SDK 的应用程序时,我注意到以下变化:

  • 需要在 Build Phases -> Link Bundle with Libraries 中链接到 CoreBluetooth.frameworkAccelerate.framework
  • “其他链接器标志”下的-all_load 标志将导致“重复符号”错误。 (改用-ObjC。)

如果您使用 CocoaPods 安装方法(根据他们当前的说明),它应该采用所需的框架,但它仍然会被 -all_load 弄乱。

关于ios - 谷歌地图SDK : Undefined symbols for architecture x86_64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30712852/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com