I have a fork of pd-lib-builder which supports arm64 & universal builds on macOS. The PR has been sitting for some time but we have been using it successfully for a few projects for some time now:

https://github.com/pure-data/pd-lib-builder/pull/69

To build for arm64, you need a new enough Xcode (12.2 I believe) and that's it. You can cross-compile on an x86_64 machine for arm64 and vice-versa.

On Mar 10, 2022, at 11:30 PM, pd-dev-request@lists.iem.at wrote:

Message: 2
Date: Thu, 10 Mar 2022 17:57:23 -0300
From: Alexandre Torres Porres <porres@gmail.com>
To: Sebastian Shader <sebfumaster@aol.com>
Cc: "pd-dev@lists.iem.at" <pd-dev@lists.iem.at>
Subject: Re: [PD-dev] [PD] how to compile externals for apple silicon?
Message-ID:
<CAEAsFmiUpgiieWwpvM11eyY6kE6bdGiWFqFa8pbvPBjtuaoc4w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I guess I can install catalina on a partition, but I was hoping to use
pdlibbuilder in an easy way, is it possible?

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com