简体   繁体   English

Azure 空间定位点无法在 Xcode 中编译

[英]Azure Spatial Anchors unable to compile in Xcode

We have included Microsoft Azure Spatial Anchors into our Swift iOS app using cocoapods, the app compiles and runs normally when the target is an iOS Device.我们使用 cocoapods 将 Microsoft Azure Spatial Anchors 包含到我们的 Swift iOS 应用程序中,当目标是 iOS 设备时,该应用程序可以正常编译和运行。

When the target is a simulator the app does not build.当目标是模拟器时,应用程序不会构建。

这些是我们收到的错误

在此处输入图片说明

Is there a way to ignore this pod and the code when running on simulator or a fix we can include inside the Azure anchor SDK有没有办法在模拟器上运行时忽略这个 pod 和代码,或者我们可以在 Azure 锚点 SDK 中包含的修复程序

Since ARKit doesn't support running in a simulator we hadn't included the x86_64 build in the pod.由于 ARKit 不支持在模拟器中运行,我们没有在 pod 中包含 x86_64 构建。 But it sounds like you've got a use case for it;但听起来你已经有了它的用例; it's entirely reasonable to want to validate other flows, and performing conditional exclusion of the ASA SDK surface area is going to be tricky.想要验证其他流是完全合理的,并且执行 ASA SDK 表面积的条件排除将是棘手的。 I'll add an item to our backlog to look at supporting ASA for simulators at build time.我将在我们的待办事项中添加一个项目,以查看在构建时支持模拟器的 ASA。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM