Object file format unrecognized, invalid or inappropriate xcode

I know that other similar questions have been posted, but none of these solutions worked for me. Updated to Xcode 4.5.1 from 4.3.3. Got this error:

Build/Products/Debug-iphoneos/MobileApp.app/MobileApp malformed object (unknown load command 19) /Users/garyt/Library/Developer/Xcode/DerivedData/MobileApp-cgojnkplmjncbaaigyvelwclibwr/Build/Products/Debug-iphoneos/MobileApp.app/: object file format unrecognized, invalid, or unsuitable Command /bin/sh failed with exit code 1 

Follow the instructions here . We downloaded the latest command-line tools, tried to fix the sudo codesign_allocate fix, and checked that my names and values ​​match both the target and the product, but at the same time, "the object file format is invalid or an unsuitable error appears." New to cocoa / iOS dev, and that was not the headache I expected. Any help would be greatly appreciated. I think I should also note that everything worked fine when I ran Xcode 4.3.3, from which I was updating.

+4
source share
1 answer

The best way is to simply uninstall Xcode and install a new one from the Appstore.

https://itunes.apple.com/in/app/xcode/id497799835?mt=12

0
source

Source: https://habr.com/ru/post/1440911/


All Articles