Ah, from GitHub
The error comes from a new recommended Xcode 12 build setting. We’ll investigate an update to nanopb.
In the meantime a workaround is disabling the option in the generate Pods project Build Settings: