I have a mac m2 and I am trying to run the apple simulator with some titanium modules and I am shown the following errors:
[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
Please help me.
The previous modules do not have an update for m2 or at least I have not found a recent update.
2
Answers
Thanks for your answer. I was able to solve it by running my code editor with rosetta.
One option is to build on device (the error is only for a simulator build) or use a rosetta terminal to run the build command.
The modules you are using are a bit older and you might need to recompile them yourself:
You could create a new module project with
ti create
and select module and then clone all the repos and copy over thetitanium.xcconfig
file from the new project.Or ask in TiSlack (https://tidev.slack.com/) if someone can rebuild the modules for you.