Googlemlkit何时支持ARM64模拟器
我们在iOS上使用Googlemlkit,现在我们的团队正在改用M1 MacBook。 我们必须设置一些条件才能使其在iOS-ARM64-Simulator上工作,例如
我想知道Google官方是否有计划支持ios-arm64-Simulator 例如提供XCFramework?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
是的,我们有一个计划,但可能需要一些时间才能找到解决方案。
Yes, we have a plan, but it can take some time to find a solution.
对于该线程中的每个人来说都是好消息。
我花了一周的时间寻找这个问题的解决方案/解决方法(MLKit 在 iOS 模拟器上构建)。我现在终于能够在模拟器上运行 MLKit(翻译)了。请按照以下步骤操作:
免责声明:
到目前为止,添加以下配置后我还没有遇到任何问题。如果我发现任何问题,我会将其发布在此处。
现在我的项目可以在 iOS 模拟器 (x86_64) 和真实设备 (arm64) 上自动运行。
在 Macbook M1 上使用 Xcode 15.3
您可以从此屏幕截图确认最终配置
。
Good news for everyone on this thread.
I have spent a week finding a solution/workaround for this issue (MLKit build on iOS Simulator). I have now finally been able to run MLKit (Translate) on the simulator. Please follow the steps below:
Disclaimer:
Up until now, I haven't faced any issues after adding the below configurations. If I find any issues, I will post them here.
Now my project can auto-run on iOS simulators (x86_64) and real devices (arm64).
Using Xcode 15.3 on Macbook M1
You can confirm the final configurations from this ScreenShot
.
我设法通过切换到Rosetta:
Product≫目的地>显示所有运行目的地
,然后选择所需的模拟器,但(Rosetta)版本
I managed to run the app on simulator by switching to Rosetta:
Product > Destination > Show All Run Destinations
Then choose the simulator you need, but (Rosetta) version