Re: How to add a 32-bit binary to a bundle in Catalina/Xcode 11.4.1?
John;toggle quoted messageShow quoted text
There may be another way. Create a shell script to copy the binary into the application, then call it from a script phase in the target build. Be sure to use the ditto command for the copy so that you get all the meta parameters for the file(s).
We do our builds from shell scripts. They include copying, signing and notarization among other things, and do include third party libraries. I am pretty sure that I have updated all 32-bit binaries to 64 bits, however.
The Notarization requirements are driven for the most part from the Apple side, so if the app Notarized since the end of February on Mojave, then I would expect it to also do so on Catalina. Also note that you can build with either Xcode 10 or 11 on Catalina - just give them separate names and use Xcode-select to select the one you want. Xcode 10 may not have the limitation that you see with Xcode 11. The February date is important since the heightened requirements such as hardened runtime came into effect at that time. This is part of code signing, which means the vendor supplying the binary must have signed it with hardened runtime and the exception that allows others to include it in their apps.