Downloaded Xcode 12.2 Beta 3 and trying to compile my app. Getting the following linker error:
ld: unknown option: -no_adhoc_codesign
It looks like -Xlinker -no_adhoc_codesign
is being added to the linker flags.
Where does this linker flag come from, and how do I remove it?
I searched and grepped the entire app, but couldn't find this flag.
It looks like this comes from zld. Disabling zld fixed the issue for me.