aisle411 iOS SDK 缺少所需的架构 arm64
aisle411 iOS SDK missing required architecture arm64
您好,我目前正在使用 aisle411 SDK 为 iOS 创建一个室内地图应用程序。我正在尝试实例化 MapController 以查看其工作原理,但出现编译错误:
warning: ignoring file
/Users/comical/Documents/Code/Repository/Git/Indoor-Map-App
/Indoor Map App/Views/MapView/MapSDK/libMapSDK.a, missing required
architecture arm64 in file
/Users/comical/Documents/Code/Repository/Git/Indoor-Map-App
/Indoor Map App/Views/MapView/MapSDK/libMapSDK.a (3 slices) Undefined
symbols for architecture arm64:
"_OBJC_CLASS_$_MapController",
referenced from:
objc-class-ref in AleMapController.o ld:
symbol(s) not found for architecture arm64
有没有人在实施aisle411时有类似的经历?或者你知道 iOS 中的 aisle411 依赖项是什么吗?感谢您的帮助。
更新:
更新 SDK 后,我得到了这个错误:
Undefined symbols for architecture arm64:
"std::ios_base::Init::Init()", referenced from:
__GLOBAL__I_a in libMapSDK.a(MapController.o) "std::ios_base::Init::~Init()", referenced from:
__GLOBAL__I_a in libMapSDK.a(MapController.o) "std::runtime_error::~runtime_error()", referenced from:
std::range_error::~range_error() in libMapSDK.a(MapController.o)
std::range_error::~range_error() in libMapSDK.a(MapController.o)
std::range_error::~range_error() in libMapSDK.a(MapController.o)
std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o)
std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o)
std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o)
std::underflow_error::~underflow_error() in libMapSDK.a(MapController.o)
... "operator delete(void*)", referenced from:
std::domain_error::~domain_error() in libMapSDK.a(MapController.o)
std::invalid_argument::~invalid_argument() in libMapSDK.a(MapController.o)
std::length_error::~length_error() in libMapSDK.a(MapController.o)
std::out_of_range::~out_of_range() in libMapSDK.a(MapController.o)
std::range_error::~range_error() in libMapSDK.a(MapController.o)
std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o)
std::underflow_error::~underflow_error() in libMapSDK.a(MapController.o)
...
ld: symbol(s) not found for architecture arm64 clang: error: linker
command failed with exit code 1 (use -v to see invocation)
运行 lipo -info libMapSDK.a
并检查是否有 x86_64 架构。如果没有,下载最新版本,应该是64位兼容的。
我终于从朋友那里得到了解决方案。他说我想念 libstdc++.6.dylib 以使用 aisle411 SDK 构建应用程序。现在终于可以用了:)
您好,我目前正在使用 aisle411 SDK 为 iOS 创建一个室内地图应用程序。我正在尝试实例化 MapController 以查看其工作原理,但出现编译错误:
warning: ignoring file /Users/comical/Documents/Code/Repository/Git/Indoor-Map-App /Indoor Map App/Views/MapView/MapSDK/libMapSDK.a, missing required architecture arm64 in file /Users/comical/Documents/Code/Repository/Git/Indoor-Map-App /Indoor Map App/Views/MapView/MapSDK/libMapSDK.a (3 slices) Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_MapController", referenced from: objc-class-ref in AleMapController.o ld:
symbol(s) not found for architecture arm64
有没有人在实施aisle411时有类似的经历?或者你知道 iOS 中的 aisle411 依赖项是什么吗?感谢您的帮助。
更新: 更新 SDK 后,我得到了这个错误:
Undefined symbols for architecture arm64:
"std::ios_base::Init::Init()", referenced from: __GLOBAL__I_a in libMapSDK.a(MapController.o) "std::ios_base::Init::~Init()", referenced from: __GLOBAL__I_a in libMapSDK.a(MapController.o) "std::runtime_error::~runtime_error()", referenced from: std::range_error::~range_error() in libMapSDK.a(MapController.o) std::range_error::~range_error() in libMapSDK.a(MapController.o) std::range_error::~range_error() in libMapSDK.a(MapController.o) std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o) std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o) std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o) std::underflow_error::~underflow_error() in libMapSDK.a(MapController.o) ... "operator delete(void*)", referenced from: std::domain_error::~domain_error() in libMapSDK.a(MapController.o) std::invalid_argument::~invalid_argument() in libMapSDK.a(MapController.o) std::length_error::~length_error() in libMapSDK.a(MapController.o) std::out_of_range::~out_of_range() in libMapSDK.a(MapController.o) std::range_error::~range_error() in libMapSDK.a(MapController.o) std::overflow_error::~overflow_error() in libMapSDK.a(MapController.o) std::underflow_error::~underflow_error() in libMapSDK.a(MapController.o) ...ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
运行 lipo -info libMapSDK.a
并检查是否有 x86_64 架构。如果没有,下载最新版本,应该是64位兼容的。
我终于从朋友那里得到了解决方案。他说我想念 libstdc++.6.dylib 以使用 aisle411 SDK 构建应用程序。现在终于可以用了:)