DanTheMan827 / ios-app-signer

This is an app for OS X that can (re)sign apps and bundle them into ipa files that are ready to be installed on an iOS device.
https://dantheman827.github.io/ios-app-signer
GNU General Public License v3.0
5.49k stars 1.05k forks source link

Code Signing error #49

Open vulturevamss opened 7 years ago

vulturevamss commented 7 years ago

Please help me.... I am struck with this error for a week now and really frustrated with this... tried deleting all the certificates and remove account and add again.. installed developer tools.. terminal "xcode-select --install".. what else can I do.. Trying to install Kodi app in my iPad.. Thank you!

screen shot 2017-02-19 at 11 01 55 am screen shot 2017-02-19 at 11 02 13 am screen shot 2017-02-19 at 11 08 08 am screen shot 2017-02-19 at 11 01 04 am
DanTheMan827 commented 7 years ago

I see that you have two iPhone Developer certificates.

Make sure that the certificate you're selecting is the correct one for the provisioning profile.

If it isn't, the signing will fail.

For example, you can't select a certificate for a paid account if the provisioning profile is from your personal team.

vulturevamss commented 7 years ago

checked it but no change

ovrdrvn commented 7 years ago

Same issue. Deleted all profiles in my user library folder, deleted certs from keychain, deleted account from Xcode. Readded account in Xcode and it seemingly auto managed the provisioning profile. Open app signer and same issue.

robinnorth commented 7 years ago

I also had this issue. Deleting all iOS distribution and development certificates from my login keychain failed to solve the problem, but I noticed that when I opened the app signer before re-adding any certificates that it still listed two certificates, including the one I was trying to use to sign my IPA. Turns out they were in my System keychain somehow (probably something to do with Xcode's auto-management...). After deleting these certificates and just re-importing the certificate I needed to use for signing, I was able to re-sign my IPA successfully.

@vulturevamss, @ovrdrvn, take a look in your System keychain and see if you have any errant certificates installed there...

vulturevamss commented 7 years ago

better than the app signer now I'm using cydia impactor which is a way too easy to do.. and this works!

hopye commented 6 years ago

Hey Guys. Check out https://coderwall.com/p/dgdgeq/how-to-re-sign-ios-builds For manual sign.

My problem was i had two versions of xcode. the system didnt know with codesigning (xcode developing tools to use ) . the iOS App signer doesnt know what to do with that error so it shows a non sense error...

in my case. check this out :) ( ALSO AFTER FIXING.. the iOS Signer was working Just FINE )

codesign -f -s "iPhone Developer: lorenzo gonzalez (XXXXXXX)" Kodi.app
Kodi.app: replacing existing signature
xcrun: error: active developer path ("/Applications/Xcode-beta.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
Kodi.app: the codesign_allocate helper tool cannot be found or used
MacBook-Pro-2:Payload lgonzalez$ sudo xcode-select --switch /Applications/Xcode-beta91.app/Contents/Developer
Password:
MacBook-Pro-2:Payload lgonzalez$ codesign -f -s "iPhone Developer: lorenzo gonzalez (XXXXXX)" Kodi.app
Kodi.app: replacing existing signature
rossoneris commented 6 years ago

I have a really strange error. The IOS app signer was working fine, but now when adding a new UUID in the embedded.mobileprovision all codes signing does not work and say it has a problem Tried to install it on a different mac, but everytime starting up it say that no code signing can be found even I have my developer and distribution in the keychain(and tried to delete and re-add them 100 times) without any wo Anyone has a clue ? - the manual ipa re-sign does not work for me

jackyzonewen commented 5 years ago

Error verifying code signature!

/var/folders/cj/jj5smqv554v_cmg_h8l96z_r0000gn/T/com.DanTheMan827.AppSigner.W6ViaTQD/out/Payload/MagLock.app: invalid Info.plist (plist or signature have been modified) In architecture: armv7

How Can I solve this problem?