Snapshot fails on macOS Catalina #1038
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
-
CLI: 6.1.0
-
Cross-platform modules: 6.1.0
-
Android Runtime: 6.1.0
-
iOS Runtime: 6.1.0
-
Plugin(s): Not applicable
-
Node.js: 10.15.3
-
nativescript-dev-webpack: 1.2.0
-
Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack
Describe the bug
Running tns build android --release --env.snapshot --keyStorePath...
fails on macOS Catalina with error:
To Reproduce
Just try to use snapshot on macOS Catalina.
Expected behavior
Snapshot to succeed.
Sample project
Additional context
In order to generate snapshots for x86 and armv7 architectures, we need to start the snapshot tool for them. The tool itself is a 32-bit process. On macOS Catalina 32-bit processes are no longer supported and that causes the issue.