You didn't do anything wrong, there was I typo. I just pushed a fix. It would be setup_sdk(architectures=['x86_64', 'arm64']) but unfortunately most build systems aren't able to deal with that so it doesn't work. Way back in the PPC/i686 days there was a jhbuildrc that tried to build each architecture separately and lipo them together, but it never really worked and I took it out as part of the virtualenv rewrite a few years ago since at that time macOS was x86_64 only. It's still in git history so you could dig it out and have a go at getting it working. Warning: When it was written everything in the main gtk stack used autotools. That's no longer the case so it will be much harder now. Even cross-compiling will be harder now because of the different build systems in use. Gobject-introspection is another wrinkle, as is librsvg's use of Rust. jhbuildrc-custom is python so if you can program it in python you can do it. My jhbuildrc-custom uses an environment variable to select the project I want to build, the modulesets directory to use, and the macosx-version-min to set. It calls uname to set the architecture. Regards, John Ralls |