ios-app-signer icon indicating copy to clipboard operation
ios-app-signer copied to clipboard

Codesigning error

Open joedee opened this issue 8 years ago • 58 comments

I'm getting the following error when trying to run the app signer:

Codesigning error

You appear to have a error with your codesigning certificate, do you want me to try and fix the problem?

I'm running El Capitan and XCode 7.3 with a free Apple Developer account. Version 1.8 of iOS App Signer.

Tried running the fix option but not effective.

screen shot 2016-04-10 at 5 55 02 pm screen shot 2016-04-10 at 5 55 15 pm

joedee avatar Apr 10 '16 23:04 joedee

If you go into keychain and then view your signing certificate does it have any error by it?

DanTheMan827 avatar Apr 10 '16 23:04 DanTheMan827

No it looks good.

certs

Probably connected; I do get an error when I try to add a new App Group in XCode:

screen shot 2016-04-10 at 7 41 44 pm

And when I try to run the project in XCode:

screen shot 2016-04-10 at 7 42 05 pm

joedee avatar Apr 10 '16 23:04 joedee

The blue circle with the plus in keychain means that the certificate was manually trusted

Open the properties for your certificate and change the Trust type from "Always trust" to the system default

That should fix the signing certificate issue

Although, it seems like you may have other certificate issues than just the signing certificate... Is your system clock correct?

DanTheMan827 avatar Apr 10 '16 23:04 DanTheMan827

Ya I'd manually changed to see if that would change anything. I set back to System Defaults and same result. System clock is set automatically, so yes that should be fine.

joedee avatar Apr 10 '16 23:04 joedee

And after it was set back to System Defaults it didn't report an error in keychain at all?

What you can try is to delete the account from Xcode, then go into Keychain and delete the certificate.

Then when you sign back in to Xcode it will ask you if you want to reset the signing certificate.

You will have to re-sign any apps you may have successfully signed before (if any)

Also, if you do that the existing provisioning profiles will no longer be valid... those can be found at ~/Library/MobileDevice/Provisioning Profiles (you can use Command+SHIFT+G in Finder to easily go there)

Just delete the files in that folder (Xcode will re-download them as needed)

DanTheMan827 avatar Apr 11 '16 16:04 DanTheMan827

Tried this too but no luck.

Worth noting that in version 1.7 I get the "Error processing deb file" and in version 1.8 I get the codesigning error.

joedee avatar Apr 16 '16 00:04 joedee

Im using 1.8, follow all the steps through x-code to obtain the certificate and provisioning profiles and the application runs with no errors, however when I attempt to install the app through the devices method it fails with the message, App Installation Failed, The application does not have a valid signature. It is the same response I get if I hadn't used your IOS App signer software. Appreciate your thoughts.

owen161 avatar Apr 28 '16 07:04 owen161

Hi,

Same issue here.

I'm running El Capitan with a free Apple Developer account. Version 1.8 of iOS App Signer.

Tried running the fix option but not effective.

Furnan avatar Jun 09 '16 10:06 Furnan

Same problem

Sn0wCooder avatar Jun 10 '16 00:06 Sn0wCooder

Plz help me

Sn0wCooder avatar Jun 10 '16 00:06 Sn0wCooder

Hello

I'm having this issue on macOS Sierra. Happy to contribute however I can.

adriannabarro avatar Jun 27 '16 16:06 adriannabarro

Hello again.

I'm still seeing this using the latest version (1.8.2).

adriannabarro avatar Jul 08 '16 13:07 adriannabarro

Hi there, I also experience the same problem with OS Sierra and the iOS App Signer 1.8.2

Please advise..

Beachiie avatar Jul 20 '16 19:07 Beachiie

I found this on the internet and I worked:

This was caused by a certificate that expired, You have to delete the expired certificate from keychain before you install the new one.

LisbethC avatar Jul 25 '16 07:07 LisbethC

Same here with no expired certificates...

xjrcode avatar Aug 03 '16 20:08 xjrcode

Im getting the same issue aswell. I have tried everything you mentioned but no luck. Any suggestions?

True-Design avatar Aug 10 '16 22:08 True-Design

I have the same issue. Deleting the certificate and changing the trust settings doesn't do anything

maclamont avatar Aug 28 '16 21:08 maclamont

SecKey API returned: -67808, (null)/var/folders/gm/nwvzn56j3t1cchmltp0t5p380000gn/T/com.DanTheMan827.AppSigner.CPPhiLOk/out/Payload/FreeDyn.app: invalid signature (code or signature have been modified) In architecture: armv7

i have attached the files below I'm using all latest stuff and i get that error above this is the first time i have seen this so i don't know what is happening here

Archive.zip

kmddd59 avatar Sep 03 '16 04:09 kmddd59

Sad to report this issue is still in in 1.8.3.

adriannabarro avatar Sep 06 '16 21:09 adriannabarro

@DanTheMan827 I'm contacting u here because i can't seem to find any other way id like to see if there is a way to allow resining iOS apps that use apple watch apps to work it seems to me every time I'm on the resigner it won't send the watch app through even if i use iTunes and I'm jailbroken so i thought maybe thats why so i got my other phone nope thats not it so i got the jailbroken one and got the app sync to allow unsigned code nope no go can u help?

kmddd59 avatar Sep 07 '16 06:09 kmddd59

Has this been resolved yet? I am having the same issue running with OS 10.9.

orchiha avatar Sep 15 '16 02:09 orchiha

Same problem at my end.

ike185 avatar Sep 24 '16 18:09 ike185

Hey all, I got it working for me. I was running into the same issues described above. I suspect my problem was I had duplicate identities (i.e. certificates) in my keychain. Here's how I resolved:

  • Go into Keychain and delete all the related certificates
  • Quit Xcode, Re-launch Xcode and let it automatically download the certs again. This time hopefully you'll just have 1 valid cert.
  • Go through iOS App Signer steps (making sure you choose the correct signing identity and the matching provisioning profile via app identifier)

Works smoothly thereafter. Good luck.

chourobin avatar Sep 25 '16 03:09 chourobin

@chourobin That was it! It also worked for me. Thank you very much!

tixastronauta avatar Sep 26 '16 21:09 tixastronauta

@chourobin did you delete all of your certificates? I deleted 1 duplicate I had but it still isn't working for me.

greeneggswitspam avatar Sep 28 '16 01:09 greeneggswitspam

Still isn't working for me.. And I've tried everything.

Beachiie avatar Oct 05 '16 17:10 Beachiie

Same problem for me and I've deleted all my certificates! I'm running it on Sierra

Help!!!!!

ady199 avatar Oct 07 '16 16:10 ady199

Yep, also the same at my end. I gave up till a fresh idea to try out comes my way.

ike185 avatar Oct 07 '16 18:10 ike185

I have the same issue with "codesigning error". I have a $99 paid developer membership. I performed all the steps recommended in DanTheMan827 steps below, but the issue persists. Is there a way to fix this? I am trying to reload Kodi onto my iPAD after upgrading to IOS 10.0.2 (and Mac to Sierra), as it no longer works. Thanks for any help available.

DanTheMan827 recommended steps from another entry: Go into Xcode and delete your account from Preferences

Go to ~/Library/MobileDevice/Provisioning Profiles in finder and delete the files within

Go into keychain and delete any personal certificates mentioning Mac Developer, iOS Developer, etc

Add your account back into Xcode and choose to revoke the existing certificate

You'll have to re-generate any provisioning profiles since the previous ones were tied to the now revoked certificate and are now invalid

And also, don't manually trust the developer certificates... that breaks code signing completely since codesign won't trust it..

light122 avatar Oct 10 '16 15:10 light122

Try opening terminal and run the following command

xcode-select --install

DanTheMan827 avatar Oct 10 '16 16:10 DanTheMan827