I don't have an M1 (the instruction is written by an user), but I think it goes wrong with the paths or the mv (move) command. You better copy from to source.
At my old system ASTAP is at:
cd ~/Downloads/astap.fpc
ls
This should show the file astap if you see astap. If not go to
I don't understand the following step. This will move astap to astap.intel. I would skip this step for the moment:
c) Rename the default astap file:
sudo mv astap astap.intel (enter your Mac password when prompted)
Then you can copy astap to the app:
cp ./astap /Applications/ASTAP.app/Contents/MacOS
I will ask M1 users for advice.
Han
Detailed instructions:
1) Download and Install the regular ASTAP application.
2) Download the M1 astap file (eg to Downloads folder) and extract from the zip file. There will be a folder in Downloads called astap_M1
3) Sign the downloaded ASTAP file (as per your instructions) eg:
codesign --force -s - ~/Downloads/astap_M1/astap
4) Make sure the ASTAP program is not running, then open the Terminal app
5) Type the following:
a) cd /Applications/ASTAP.app/Contents/MacOS
b) Make the downloaded astap file executable:
sudo chmod +x ~/Downloads/astap_M1/astap
c) Rename the default astap file:
sudo mv astap astap.intel (enter your Mac password when prompted)
d) Copy the downloaded M1 astap file:
sudo cp ~/Downloads/astap_M1/astap .
Last edit: han.k 2021-11-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello! Great job Hans, helping us Mac M1 users with a comprehensive Astroimaging suite!
I have a small problem at the final copy command of the codesigning process and I hope you can review your readme file instructions.
Your readme file went well, right up to the CP command.
d) Copy the downloaded M1 astap file:
sudo cp ~/Downloads/astap_M1/astap .
It came up with an error showing me how the CP command was to be correctly used.
I am quite inexperienced at the Mac command line. I even tried your instructions by including the full stop, ie 'astap .'
Which is probably not correct.
Any chance you could review these instrucions again?
Many thanks.
Ivan.
Gold Coast, Australia.
Hello,
I don't have an M1 (the instruction is written by an user), but I think it goes wrong with the paths or the mv (move) command. You better copy from to source.
At my old system ASTAP is at:
cd ~/Downloads/astap.fpc
ls
This should show the file astap if you see astap. If not go to
cd ~/Downloads/astap_M1
Then you can
codesign --force -s - ./astap
sudo chmod +x ./astap
I don't understand the following step. This will move astap to astap.intel. I would skip this step for the moment:
c) Rename the default astap file:
sudo mv astap astap.intel (enter your Mac password when prompted)
Then you can copy astap to the app:
cp ./astap /Applications/ASTAP.app/Contents/MacOS
I will ask M1 users for advice.
Han
Detailed instructions:
1) Download and Install the regular ASTAP application.
2) Download the M1 astap file (eg to Downloads folder) and extract from the zip file. There will be a folder in Downloads called astap_M1
3) Sign the downloaded ASTAP file (as per your instructions) eg:
codesign --force -s - ~/Downloads/astap_M1/astap
4) Make sure the ASTAP program is not running, then open the Terminal app
5) Type the following:
a) cd /Applications/ASTAP.app/Contents/MacOS
b) Make the downloaded astap file executable:
sudo chmod +x ~/Downloads/astap_M1/astap
c) Rename the default astap file:
sudo mv astap astap.intel (enter your Mac password when prompted)
d) Copy the downloaded M1 astap file:
sudo cp ~/Downloads/astap_M1/astap .
Last edit: han.k 2021-11-07
I made one error with the chmod command. See the updated online version of my post
Hello Ivan,
New instruction. I doubt if 4) is required. Can you test it?
Regards, Han
1) Download
https://sourceforge.net/projects/astap-program/files/macOS%20installer/astap_M1.pkg/download
2) Make sure the ASTAP program is not running. Place the mouse cursor on the pkg file an install using the right mouse button popup menu.
3) Open a terminal windows and copy paste and execute the following command:
codesign --force -s - /Applications/ASTAP.app/Contents/MacOS/astap
4) Make the downloaded astap file executable:
sudo chmod +x /Applications/ASTAP.app/Contents/MacOS/astap
Hey Hank
Thanks for the quick reply!
I have gone to work for the day but will try this tonight and let you know.
Cheers
Ivan
I got a confirmation from an other M1 owner that step 4) is not required. Furthermore step 3) Code signing is only once required. Not for updating.
Regards, Han
1) Download
https://sourceforge.net/projects/astap-program/files/macOS%20installer/astap_M1.pkg/download
2) Make sure the ASTAP program is not running. Place the mouse cursor on the pkg file an install using the right mouse button popup menu.
3) Open a terminal windows and copy paste and execute the following command:
codesign --force -s - /Applications/ASTAP.app/Contents/MacOS/astap