4

I ran into this error after upgrading xCode to version 12.4 Error output

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)

Jin Lee
  • 3,194
  • 12
  • 46
  • 86
NSFriend
  • 81
  • 6

1 Answers1

4

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.)

NSFriend
  • 81
  • 6