Hi,
I’m on a Apple M1 silicon based MacBook Pro / arm64 and was glad to see that multipass now supports Apple Silicon since version 1.12.
Using the latest hombrew available versions of multipass (1.12.0) and snapcraft (7.3.1) I however got the following error when using base: core22
:
Traceback (most recent call last):
[...]
File "/opt/homebrew/Cellar/snapcraft/7.3.1/libexec/lib/python3.11/site-packages/craft_parts/infos.py", line 268, in _set_machine
raise errors.InvalidArchitecture(self._host_arch)
craft_parts.errors.InvalidArchitecture: Architecture 'arm64' is not supported.
Make sure the architecture name is correct.
I noticed however that changing base to core20
makes the build go through.
What’s going on here?
Full config here:
name: x
base: core22
architectures:
- arm64
version: '0.1'
summary: My snap
description: Snap description
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
parts:
x:
plugin: rust
build-packages: [cargo, rustc]
source: .
apps:
x:
command: bin/x
daemon: simple