CoseSignTool icon indicating copy to clipboard operation
CoseSignTool copied to clipboard

MacOS: bad CPU type in executable: CoseSignTool

Open ivarprudnikov opened this issue 1 year ago • 0 comments

Release downloaded: v1.2.8 https://github.com/microsoft/CoseSignTool/releases/download/v1.2.8/CoseSignTool-MacOS-release.zip

MacOS details:

  • OS: Sonoma 14.6.1
  • arch: i386
  • CPU: Intel

Binary that was used: CoseSignTool

$ CoseSignTool
zsh: bad CPU type in executable: Users/xxx/CoseSignTool

It seems to have been compiled against target arm64 instead:

$ lipo -info CoseSignTool
Non-fat file: /Users/xxx/CoseSignTool is architecture: arm64

I suppose it should either explicitly state that this is targeting ARM only or the releases should contain both architectures.

ivarprudnikov avatar Oct 22 '24 14:10 ivarprudnikov