Defying / TweakPatcher

Script to patch a Cydia Substrate tweak and it's required dependencies to load on a jailed iOS device.
82 stars 17 forks source link

[❌ ] Failed to sign Snapchat.app with entitlements.xml. Check tweakpatcher.log for more information. #4

Closed ToothyArmy closed 8 years ago

ToothyArmy commented 8 years ago

This comes up every time I try for the first time on an Apple ID. Then every time After it doesn't even try to download.

liudayu commented 8 years ago

Can you also show us the tweakpatcher.log file?

Unknown-iOS commented 8 years ago

tweakpatcher.log.zip This would help you.

Defying commented 8 years ago

post your tweakpatcher.log

@Unknown-iOS don't run the patcher with BUNDLE_ID at the end. that argument is for using an already existing provisioning profile (which BUNDLE_ID obviously doesn't exist)

Unknown-iOS commented 8 years ago

@Defying even if i don't run BUNDLE_ID i get the entitlememnts.xml error.

Defying commented 8 years ago

@Unknown-iOS post your tweakpatcher.log without the BUNDLE_ID

ToothyArmy commented 8 years ago

I am going to try again, I did not mean to use the BUNDLE_ID

On Sat, Apr 9, 2016 at 3:08 PM, Benjamin Weakley notifications@github.com wrote:

@Unknown-iOS https://github.com/Unknown-iOS post your tweakpatcher.log without the BUNDLE_ID

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Defying/TweakPatcher/issues/4#issuecomment-207835827

ToothyArmy commented 8 years ago

Every since the first time I tried it, it has come up with this message. https://gyazo.com/1e5434a18657b7cc154c7647df7099a8

On Sat, Apr 9, 2016 at 5:39 PM, ToothArmy Toothy toothyarmy@gmail.com wrote:

I am going to try again, I did not mean to use the BUNDLE_ID

On Sat, Apr 9, 2016 at 3:08 PM, Benjamin Weakley <notifications@github.com

wrote:

@Unknown-iOS https://github.com/Unknown-iOS post your tweakpatcher.log without the BUNDLE_ID

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Defying/TweakPatcher/issues/4#issuecomment-207835827

ToothyArmy commented 8 years ago

http://pastebin.com/vqvib5Jr There is the tweakpatcher.log

Defying commented 8 years ago

@ToothyArmy have you pressed "Reset" on that Xcode error?

that should fix your issue. looking at your log, it can't find the cert

ToothyArmy commented 8 years ago

Yes, I have pressed Fix Issue many times.

On Sat, Apr 9, 2016 at 6:16 PM, Benjamin Weakley notifications@github.com wrote:

@ToothyArmy https://github.com/ToothyArmy have you pressed "Fix Issue" on that Xcode error?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/Defying/TweakPatcher/issues/4#issuecomment-207865318

ToothyArmy commented 8 years ago

I have clicked reset a few times, then it makes a new cert but the expiration date is the exact time that I clicked reset so I am not able to click Fix Issue after I click reset.

HelpMepleaseSir commented 8 years ago

i have the same error but im not sure how to fix it !!!

HelpMepleaseSir commented 8 years ago

tweakpatcher.log.zip That is my log if anyone can help

ArdieWijaya commented 8 years ago

i have the same error! here's my log

tweakpatcher.log.zip

Defying commented 8 years ago

@ArdieWijaya try the experimental version linked above your post

ArdieWijaya commented 8 years ago

@Defying that still doesn't work! here's my new log from the experimental version tweakpatcher.log.zip

Defying commented 8 years ago

@ArdieWijaya can you post the output of ls .temp/Payload?

ArdieWijaya commented 8 years ago

@Defying how to do that?

Defying commented 8 years ago

@ArdieWijaya type that into Terminal while you're in the TweakPatcher directory

ArdieWijaya commented 8 years ago

@Defying here's the result screen shot 2016-04-10 at 07 00 28

Defying commented 8 years ago

@ArdieWijaya looking at your log again, it looks like it's being caused by a certificate issue, not the patcher script

try this:

  1. Open "Keychain Access" on your Mac
  2. Select "My Certificates" under "Category"
  3. Delete any certificates beginning with "iPhone Developer"
  4. Make a new project in Xcode
  5. Press "Fix Issue". It will regenerate a new certificate.
  6. Try running the patcher again.
ArdieWijaya commented 8 years ago

@Defying i still can't fix it

Defying commented 8 years ago

@ArdieWijaya what do you mean?

ToothyArmy commented 8 years ago

I will try it.

ArdieWijaya commented 8 years ago

@Defying i've tried to open keychain access, but still it doesn't work

Defying commented 8 years ago

@ArdieWijaya were you able to regenerate the certificate in Xcode?

ToothyArmy commented 8 years ago

This message still comes up. Yes I have clicked reset but then it creates a certificate that is set to expire the exact date of Today. So I go into KeyChain access and remove that certificate then I do it again and it does the same thing.

https://gyazo.com/410a820b34a58f450c292f95159f408b

ArdieWijaya commented 8 years ago

@Defying yes i was able to regenerate it, then i've tried with the experimental version, and still doesn't work

Defying commented 8 years ago

@ToothyArmy the "iPhone Developer" certificate it generates shouldn't expire until 2017..

something is likely wrong with your Xcode/Apple ID.


@ArdieWijaya what's the expiration date on the new certificate it generates?

ToothyArmy commented 8 years ago

I have an Idea hope this works!

ToothyArmy commented 8 years ago

All I had to do was reset the certificate then close Xcode then open it again and redo the Xcode part.

ToothyArmy commented 8 years ago

Yes! It worked!

ToothyArmy commented 8 years ago

The Disable Screenshot Log does not work.

ToothyArmy commented 8 years ago

Once you reset your certificate redo the whole process and it should work.

On Apr 9, 2016, at 8:21 PM, Benjamin Weakley notifications@github.com wrote:

@ToothyArmy the "iPhone Developer" certificate it generates shouldn't expire until 2017..

something is likely wrong with your Xcode/Apple ID.

@ArdieWijaya what's the expiration date on the new certificate it generates?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

ArdieWijaya commented 8 years ago

@Defying April 10, 2017

ToothyArmy commented 8 years ago

@ArdieWijaya once you reset your certificate, restart the whole process and it should work. That is what I did and it worked.

jordanotsuji commented 8 years ago

tweakpatcher.log.zip please help me fix my problem. [❌ ] Failed to install Snapchat.ipa to iOS device. Check tweakpatcher.log for more information. @Defying

Jwiggiff commented 8 years ago

I had this same problem but I fixed it. When you make the Xcode project at the top after you select your device make sure the bar at the top fully loads then it worked for me

AbsenteBill commented 8 years ago

I've tried 3 times and I still have the same problem what do I do?

ToothArmy commented 8 years ago

@AbsenteBill what is the problem you are having?

assentricattitude commented 8 years ago

this is how i fixed it, when you go to keychain access, when your iphone is connected, head over to certificates. you will see 4 certificates, take not off them all then proceed to delete them. how ever you will notice that one certificate will come back, do not delete that certificate, instead go back to xcode and it set it up again and you will still see the "fix issue" button still there. the only difference is that this time instead of prompting you to reset the original certificates, it is aware of that one certificate so it lets you go right on through. you should have no issues what so ever now. if you need me to send my log just ask

len2307 commented 8 years ago

send log please

cthulhu91 commented 8 years ago

Still having a tough time getting past this... tweakpatcher.log.zip

Defying commented 8 years ago

@cthulhu91 you're missing your iPhone Developer certificate:

[✒️ ] Codesigning .dylib dependencies with certificate ""
: no identity found
: no identity found
: no identity found
: no identity found
: no identity found
: no identity found
: no identity found
: no identity found
: no identity found
hooplaa commented 8 years ago

I get the same message here is my log

tweakpatcher.log.zip

hooplaa commented 8 years ago

also when the error pops up i get an email saying my iOS Development certificate has been revoked

ToothyArmy commented 8 years ago

I got that too but it didn't change anything I just had to reset my certificate

On Apr 11, 2016, at 3:10 PM, hooplaa notifications@github.com wrote:

also when the error pops up i get an email saying my iOS Development certificate has been revoked

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

hooplaa commented 8 years ago

@ToothyArmy how do you reset it?

hooplaa commented 8 years ago

nvm i just restarted my mac and it worked

Ohhmyswag commented 8 years ago

i got same error. my certificate is valid and i try all helpmeet please tweakpatcher.txt