mapillary_tools icon indicating copy to clipboard operation
mapillary_tools copied to clipboard

v0.8.2 "is damaged" and does not run on Apple M1 with Monterey 12.4

Open marcgemis opened this issue 1 year ago • 6 comments

I just downloaded mapillary_tools v0.8.2 on an Apple M1 running Monterey 12.4. Each time I try to execute the program, I get a popup with “mapillary_tools” is damaged and can’t be opened. You should move it to the Bin." I have to choose between Cancel and Move to Bin.

Since this is a new machine, I have not run earlier versions of mapillary_tools on it.

marcgemis avatar Jul 15 '22 04:07 marcgemis

It's built for intel arch, not for M1. Currently the build system (GitHub Action) does not support M1 arch https://github.com/actions/virtual-environments/issues/2187 We will build it from local machine for the next release.

Alternatively you can always use pip to install mapillary_tools on your mac:

python3 -m pip install --upgrade git+https://github.com/mapillary/mapillary_tools

ptpt avatar Jul 15 '22 16:07 ptpt

After downloading the binary, you need to run:

unzip  mapillary_tools-0.9.0-osx-x86_64.zip
cd  mapillary_tools-0.9.0-osx-x86_64
xattr -c mapillary_tools

then it should work

ptpt avatar Jul 23 '22 01:07 ptpt

What happened to building from a local system to enable M1 support? This is still not fixed as of v0.9.1

DavidMetcalfe avatar Sep 18 '22 17:09 DavidMetcalfe

@DavidMetcalfe didn't it work after xattr -c mapillary_tools on your M1? What was the error? I own a M1 and it works.

ptpt avatar Sep 20 '22 18:09 ptpt

@ptpt The xattr -c step works, but why isn't it incorporated into the tool as an automated step? Can it only be done manually by the user? If so, this step should be documented.

DavidMetcalfe avatar Sep 20 '22 20:09 DavidMetcalfe

Makes sense. I will check if it's possible to add this step to the CI.

ptpt avatar Sep 29 '22 18:09 ptpt