Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] Signing MacOS bundle

Victor Lazzarini <[email protected]> Thu, 4 Sep 2025 22:04:38 +0000
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
Rory has been able to develop a signed installer with no need to change anything in the packaging. Maybe you can liaise with him?

Prof. Victor Lazzarini
Maynooth University
Ireland

On 4 Sep 2025, at 22:37, Tarmo Johannes <[email protected]> wrote:


*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi!

I managed to get a signed tryout MacOS  bundle of CsoundQt7+Csound7 done (this is really a tryout but can be usable):
https://tarmo.uuu.ee/owncloud/index.php/s/BgNpnqnSRjqXSy1

It is based on Csound7-beta.8, downloaded from Github actions artifacts.
What I noticed:
- $APP/Contents/Frameworks/CsoundLib64.framework/Versions/7.0/CsoundLib64
gave at first an error:
'code has no resources but signature indicates they must be present '.
I needed to remove the signature and resign again. I don't know if it requires attention from Csound side.

- the libs folder in CsoundLib64.framework folder causes signing error 'Unsealed contents present in the root directory of an embedded framework' - see
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
I needed to move the libs folder away from framework root and placed it to resources next to opcodes' dir.
I did not do the install_name_tool changes as the libraries were only for portmidi. It would be nice to have the framework immediately with suitable structure so it easy to develop MacOS apps based on it.

What do you think?

tarmo