2

I have set my correct team , created the provisioning profile both for development and distribution for my new project and set all my icons. When it comes running the project , it stills warns

Command /usr/bin/codesign failed with exit code 1

and show the following message :

/Users/abc/Library/Developer/Xcode/DerivedData/TEST-fbjodlablxmpjahfncbidoqepfyx/Build/Products/Debug-iphoneos/TEST.app: code object is not signed at all
In subcomponent: /Users/larrylo/Library/Developer/Xcode/DerivedData/TEST-fbjodlablxmpjahfncbidoqepfyx/Build/Products/Debug-iphoneos/TEST.app/AppIcon29x29@2x.png

Would you please tell me what conditions or settings I have to check ?

Jeff Bootsholz
  • 2,971
  • 15
  • 70
  • 141

1 Answers1

2

Code object is not signed at all error mostly relates to corrupt frameworks. So you download them again and problem resolves.

But in your case it looks like error caused by AppIcon29x29@2x.png oddly. Maybe delete it or change it?

mkeremkeskin
  • 644
  • 10
  • 27
  • I have used this to create icon and copy whole set to my xcode. still now working – Jeff Bootsholz Dec 29 '15 at 09:11
  • Did you change the icon? After change or delete clean build your project and try again. – mkeremkeskin Dec 29 '15 at 09:14
  • no, I have to create a new project and fit to see if I can fix this – Jeff Bootsholz Dec 29 '15 at 09:28
  • I removed PaddleMas ( v1.18) from my cocoapods and this problem went away. Have logged a bug to suggest Apple provide better error messaging. Also make sure you clean the project and restart xcode when you do this for bonus points. also did you try removing your images to see if its a corrupted image file – UKDataGeek Jan 08 '17 at 19:49
  • I had to re-install the affected pod (remove it from project/Pods directory and do a `pod install`) to make it work again. – d4Rk Aug 21 '17 at 07:43