xcode not building arm64/apple silicon universal dylib
Solution 1:
I signed up just to post an answer, cause I spend couple of hours myself with the same problem. There's a setting 'Allow Multi-Platform Builds' under 'Build Options', that should be turned on. It did the trick for me and now it compiles a 'fat' dylib. Confusing thing is that for the bundles, it compiles the universal binary with this setting turned to off, but not for the dylib's.