alberti42 / Volume-Control

Successor of iTunes Volume Control
GNU General Public License v3.0
208 stars 9 forks source link

Getting 'fatal error' when using the codesign command on an M1 Mac running Big Sur #13

Open jkats-ucr opened 2 years ago

jkats-ucr commented 2 years ago

Just downloaded and placed the Volume Control.app in the Applications folder. Machine is an M1 Mac mini running Big Sur (11.6.4). As per the instructuions, I opened Terminal and ran the command: codesign --force --deep -s - /Applications/Volume\ Control.app

I get the following error:

 ~ % codesign --force --deep -s - /Applications/Volume\ Control.app 
/Library/Developer/CommandLineTools/usr/bin/codesign_allocate: fatal error: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Sparkle (for architecture x86_64)
/Applications/Volume Control.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework

Just in case, tried running as sudo, but same result. Any suggestion as to how to solve this?

Thanks in advance for any assistance.

alberti42 commented 2 years ago

I am sorry, I never experience that problem. It seems that you don't have installed on your system the program codesign_allocate. On my Mac, I have codesign_allocate in

/usr/bin/codesign_allocate

but also in

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Do you have them installed as well? They should be part of the Xcode system.

Best Andrea

On 21. Apr 2022, at 22:07, gomerpylez @.***> wrote:

Just downloaded and placed the Volume Control.app in the Applications folder. Machine is an M1 Mac mini running Big Sur (11.6.4). As per the instructuions, I opened Terminal and ran the command: codesign --force --deep -s - /Applications/Volume\ Control.app

I get the following error:

~ % codesign --force --deep -s - /Applications/Volume\ Control.app /Library/Developer/CommandLineTools/usr/bin/codesign_allocate: fatal error: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Sparkle (for architecture x86_64) /Applications/Volume Control.app: the codesign_allocate helper tool cannot be found or used In subcomponent: /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework Just in case, tried running as sudo, but same result. Any suggestion as to how to solve this?

Thanks in advance for any assistance.

— Reply to this email directly, view it on GitHub https://github.com/alberti42/Volume-Control/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPC4CNLGQQLG2AGWPFDBDVGGYQ7ANCNFSM5UAJGC2A. You are receiving this because you are subscribed to this thread.

jkats-ucr commented 2 years ago

Thank you for your reply. I will check that.

Bart

On Apr 22, 2022, at 10:13 AM, Andrea Alberti @.**@.>> wrote:

I am sorry, I never experience that problem. It seems that you don't have installed on your system the program codesign_allocate. On my Mac, I have codesign_allocate in

/usr/bin/codesign_allocate

but also in

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Do you have them installed as well? They should be part of the Xcode system.

Best Andrea

On 21. Apr 2022, at 22:07, gomerpylez @.***> wrote:

Just downloaded and placed the Volume Control.app in the Applications folder. Machine is an M1 Mac mini running Big Sur (11.6.4). As per the instructuions, I opened Terminal and ran the command: codesign --force --deep -s - /Applications/Volume\ Control.app

I get the following error:

~ % codesign --force --deep -s - /Applications/Volume\ Control.app /Library/Developer/CommandLineTools/usr/bin/codesign_allocate: fatal error: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Sparkle (for architecture x86_64) /Applications/Volume Control.app: the codesign_allocate helper tool cannot be found or used In subcomponent: /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework Just in case, tried running as sudo, but same result. Any suggestion as to how to solve this?

Thanks in advance for any assistance.

— Reply to this email directly, view it on GitHub https://github.com/alberti42/Volume-Control/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPC4CNLGQQLG2AGWPFDBDVGGYQ7ANCNFSM5UAJGC2A. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHubhttps://github.com/alberti42/Volume-Control/issues/13#issuecomment-1106707263, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVVWCSKZVNWBNTQ3EXO3SWLVGLM3LANCNFSM5UAJGC2A. You are receiving this because you authored the thread.Message ID: @.***>

jkats-ucr commented 2 years ago

I just checked:

@.*** ~ % which codesign_allocate /usr/bin/codesign_allocate

It appears that I have it installed. Just in case, I also checked for codesign:

@.*** ~ % which codesign /usr/bin/codesign

In case this helps (showing the path indicated in my previous error message:

@.** bin % ls -al /Library/Developer/CommandLineTools/usr/bin/co -rwxr-xr-x 1 root wheel 390864 Dec 2 19:06 /Library/Developer/CommandLineTools/usr/bin/codesign_allocate lrwxr-xr-x 1 root wheel 17 Dec 20 21:34 /Library/Developer/CommandLineTools/usr/bin/codesign_allocate-p -> codesign_allocate

Bart

On Apr 22, 2022, at 10:13 AM, Andrea Alberti @.**@.>> wrote:

I am sorry, I never experience that problem. It seems that you don't have installed on your system the program codesign_allocate. On my Mac, I have codesign_allocate in

/usr/bin/codesign_allocate

but also in

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Do you have them installed as well? They should be part of the Xcode system.

Best Andrea

On 21. Apr 2022, at 22:07, gomerpylez @.***> wrote:

Just downloaded and placed the Volume Control.app in the Applications folder. Machine is an M1 Mac mini running Big Sur (11.6.4). As per the instructuions, I opened Terminal and ran the command: codesign --force --deep -s - /Applications/Volume\ Control.app

I get the following error:

~ % codesign --force --deep -s - /Applications/Volume\ Control.app /Library/Developer/CommandLineTools/usr/bin/codesign_allocate: fatal error: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Sparkle (for architecture x86_64) /Applications/Volume Control.app: the codesign_allocate helper tool cannot be found or used In subcomponent: /Applications/Volume Control.app/Contents/Frameworks/Sparkle.framework Just in case, tried running as sudo, but same result. Any suggestion as to how to solve this?

Thanks in advance for any assistance.

— Reply to this email directly, view it on GitHub https://github.com/alberti42/Volume-Control/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPC4CNLGQQLG2AGWPFDBDVGGYQ7ANCNFSM5UAJGC2A. You are receiving this because you are subscribed to this thread.

— Reply to this email directly, view it on GitHubhttps://github.com/alberti42/Volume-Control/issues/13#issuecomment-1106707263, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVVWCSKZVNWBNTQ3EXO3SWLVGLM3LANCNFSM5UAJGC2A. You are receiving this because you authored the thread.Message ID: @.***>