I ran into this error after upgrading xCode to version 12.4

Build fails with the following message:
"Command ValidateEmbeddedBinary failed with a nonzero exit code"
This error concerns the validation of the extension to the macOS application (in this case, NetworkExtention)
After more than 2 days of research, I found out that the error was caused by the following code in my Info.plist:
<key>CFBundleSupportedPlatforms</key>
<string>MacOSX</string>
After deleting this piece of code, the error disappeared. I hope this helps someone avoid wasting time.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With