Chris
Chris

Reputation: 4810

Xcode Build Error - CodeSign

I am trying to test my iOS application on my iPhone. I keep getting the same error.

/Users/usrname/Library/Developer/Xcode/DerivedData/Navigation-abxszioyejjvsqfxzhvoyunubgef/Build/Products/Debug-iphoneos/AppName.app: replacing invalid existing signature
/Users/usrname/Library/Developer/Xcode/DerivedData/Navigation-abxszioyejjvsqfxzhvoyunubgef/Build/Products/Debug-iphoneos/AppName.app: CSSMERR_TP_NOT_TRUSTED
Command /usr/bin/codesign failed with exit code 1

-My provisioning profile and signing requests are good and valid.
-All certs/profiles/devices/App IDs are good and valid.
-I have tried deleting and re-creating the certs several times with no luck.
-The certs are set to use System Defaults instead of Always Trust
-My App ID is set to a xCode wildcard 123456.*
-I have set my Bundle Indentifer to justsometext, as from what I read in the docs, this doesnt matter because of the wildcard.

Can somebody please help me before I rip my hair out. Thanks!

I am using the latest version of Xcode and latest iOS on iPhone.

Upvotes: 1

Views: 1613

Answers (1)

Chaitanya Gupta
Chaitanya Gupta

Reputation: 4053

Have you correctly set the "Trust" section of Apple's WDRC certificate?

http://natelyman.com/index.php?option=com_content&view=article&id=105:what-is-cssmerrtpnottrusted&catid=39:iphone-sdk

Upvotes: 3

Related Questions