[Feature]: Add a flag for ios run
to allow for building with Rosetta enabled
#7425
Open
1 of 3 tasks
Labels
Description
Because some plugins can't be build for simulators using arm64 arch, it would be nice to allow for building for simulators using Rosetta using the cli.
Platforms
Request or proposed solution
Add a flag like
--arch_x86_64
or--with-rosetta
or similar to allow for building for simulators using thex86_64
arch. Currently all simulators listed when usingios run
with Xcode 15.3 are arm64 targets and some plugins don't support arm64, like thecapacitor-mlkit/barcode-scanning
plugin.I verified that the core of this problem is solved by adding
,arch=x86_64
to this line:capacitor/cli/src/ios/run.ts
Line 57 in 5b2ab7c
Alternatives
No response
Additional Information
This feature came to mind when I was debugging this issue: capawesome-team/capacitor-mlkit#148.
The text was updated successfully, but these errors were encountered: