Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] Signing MacOS bundle
Tarmo Johannes <[email protected]> Fri, 5 Sep 2025 10:49:11 +0300
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CAPvdOzA=gkQXB2qS3GobFx4JtxR4A2rCNnzDHBuJDLNEpZds8g@mail.gmail.com> |
Hi! Thanks! I did not check but I guess that Rory's approach can be (as it is with signed Cabbage vst plugins) to place CsoundLib64.framework not in Frameworks as it is logical but under Resources so that it does not disturb the signing software this way. When building Qt-based app or any other app that uses deployment tools, the Csound framewok gets to be placed in its logical place and at its current form it creates a problem when you want to sign. Of course, this can be solved by developer as I described and there are not many people in the world whom it concerns ;) I might be wrong, maybe and I am doing something wrong or missed something but I guess it is maybe better if the CsoundLib64.framework is organized as Apple expects it, if that's it. Best! tarmo Kontakt Victor Lazzarini (<[email protected]>) kirjutas kuupäeval R, 5. september 2025 kell 01:04: > 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 > >