Error popping up when trying to test xcode ios app on device “object file format unrecognized”

StackOverflow https://stackoverflow.com/questions/13030702

  •  13-07-2021
  •  | 
  •  

Question

Hello I'm having a problem when I try to test my App on my iPhone Touch!

Here is what the error says:

**CodeSign /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app cd /Users/scerip/Desktop/haqu-tweejump-9a05d35 setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin/codesign -f -s "iPhone Developer: Jens Gleerup (4JA43UQ24Y)" --resource-rules=/Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app/ResourceRules.plist --entitlements /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/tweejump.xcent /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app

/Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app: object file format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1**

What to do?

Was it helpful?

Solution

Seems that you dont have your Provisioning Profile right installed...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top