这些模块与我的 mac m2 不兼容。有什么方法或替代方案可以让它们发挥作用吗?

问题描述 投票:0回答:1

我有一台 mac m2,我正在尝试使用一些钛模块运行苹果模拟器,但出现以下错误:

[ERROR] Error: The app is using native modules that do not support arm64 simulators and you are on an arm64 device:
- de.marcelpociot.imagefromgif
- ti.safaridialog
- com.movento.splitwindow
- net.iamyellow.tiws
    at iOSBuilder.invokeXcodeBuild (/Users/programador1/Library/Application Support/Titanium/mobilesdk/osx/12.2.1.GA/iphone/cli/commands/_build.js:7096:17)
Process exited with 1

请帮助我。

之前的模块没有 m2 的更新,或者至少我没有找到最近的更新。

javascript ios titanium-mobile
1个回答
0
投票

一种选择是在设备上构建(错误仅适用于模拟器构建)或使用rosetta终端运行构建命令。

您使用的模块有点旧,您可能需要自己重新编译它们:

您可以使用

ti create
创建一个新的模块项目并选择模块,然后克隆所有存储库并从新项目复制
titanium.xcconfig
文件。

或者在 TiSlack (https://tidev.slack.com/) 中询问是否有人可以为您重建模块。

© www.soinside.com 2019 - 2024. All rights reserved.