Val Kalinic Val Kalinic - 1 year ago 125
iOS Question

"object file format unrecognized, invalid, or unsuitable" Xcode error

I don't see any reasons why this message should come at the end of the log:

/Users/Val/Library/Developer/Xcode/DerivedData/Mathematics-dzakmzlewrmgvibasvuixiwmkwwp/Build/Products/Debug-iphoneos/ object file format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1

How can I fix this error?

I am desperate, all my certificates and profiles are valid, the app itself has no bugs at all.

Answer Source

Make sure the 'Executable Name' (CFBundleExecutable) entry in your target's info.plist matches the 'Product Name' specified in your target settings.

iPhone Codesign object file format invalid or unsuitable

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download