Closed rosen-vladimirov closed 4 years ago
AC:
mksnapshot --help
is failing), the command should fallback to Docker and follow the Catalina flow.mksnapshot --help
is failing), the command should fallback to Docker and follow the Catalina flow. This should be reproducible on Linux without 32-bit processes support. (https://askubuntu.com/questions/1023962/how-to-install-libc6i386-on-16-04-4-64bit will fix the local setup)nativescript/v8-snapshot
Docker image size. The current size should be ~13MB. E.g test for < 20MB.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.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.