【问题标题】:Xcode 10 Removing lstdc++Xcode 10 删除 lstdc++
【发布时间】:2018-10-11 14:13:04
【问题描述】:

lstdc++ 已从 Xcode 10 中删除,所以我从 "Link Binary With Libraries" 中删除了这个库,并添加了 libc++.tbd 但我在链接器中得到了类似的东西

Undefined symbols for architecture x86_64:
  "std::ios_base::Init::~Init()", referenced from:
      __GLOBAL__sub_I_BVMDOfflineMapMerge.cpp in BaiduMapAPI_Map(BVMDOfflineMapMerge.o)
  "std::string::assign(std::string const&)", referenced from:
      _baidu_framework::HandleBasemapMerge(_baidu_vi::CVString const&, _baidu_vi::CVString const&, _baidu_vi::CVString const&, char const*) in BaiduMapAPI_Map(BVMDOfflineMapMerge.o)
  "std::string::_Rep::_S_empty_rep_storage", referenced from:
      _baidu_framework::HandleBasemapMerge(_baidu_vi::CVString const&, _baidu_vi::CVString const&, _baidu_vi::CVString const&, char const*) in BaiduMapAPI_Map(BVMDOfflineMapMerge.o)
  "std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)", referenced from:
      _baidu_framework::CBVDCVersion::Save() in BaiduMapAPI_Map(BVDEDataCfg.o)

我认为它与 c++ lib 有问题。

【问题讨论】:

    标签: ios xcode llvm libc++


    【解决方案1】:

    也许,sdk 需要更新

    百度地图可能依赖旧库

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-02-21
      • 1970-01-01
      • 2012-12-05
      • 2019-03-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-04
      相关资源
      最近更新 更多