为什么我无法在“自定义框架”中添加GoogleMaps框架?

时间:2019-10-23 12:57:16

标签: swift xcode linker-errors google-maps-sdk-ios undefined-symbol

我正在尝试使用Google文档将GoogleMaps框架导入我的自定义框架,以手动添加GoogleMaps。但是该框架无法编译。它抛出与“体系结构x86_64的未定义符号”相关的大约100个错误。

示例:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_NSPort", referenced from:
      objc-class-ref in GoogleMapsCore
  "_CFTimeZoneCopyDefault", referenced from:
      GMSx_absl::time_internal::cctz::local_time_zone() in GoogleMapsCore
  "_CFTimeZoneGetName", referenced from:
      GMSx_absl::time_internal::cctz::local_time_zone() in GoogleMapsCore
  "_CFStringCompare", referenced from:
      gmscore::vector::text::GlyphSet::Matches(__CTFont const*, float, float) const in GoogleMapsCore
  "_kCFTypeDictionaryKeyCallBacks", referenced from:
      gmscore::vector::text::CreateCFAttributedString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, __CTFont const*, float) in GoogleMapsCore
  "_CFDictionaryCreate", referenced from:
      gmscore::vector::text::CreateCFAttributedString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, __CTFont const*, float) in GoogleMapsCore

文档:Google Maps iOS SDK

我提到了线程GoogleMapsSDK : Undefined symbols for architecture x86_64。但是仍然没有解决我的问题。

我已经附加了我的框架文件结构。

structure

0 个答案:

没有答案
相关问题