Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command ValidateEmbeddedBinary failed with a nonzero exit code

Tags:

macos

xcode12

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)

like image 531
NSFriend Avatar asked Oct 24 '25 17:10

NSFriend


1 Answers

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

like image 111
NSFriend Avatar answered Oct 26 '25 06:10

NSFriend



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!