Matchstic / ReProvision

On-device signing utility for iOS
GNU Affero General Public License v3.0
558 stars 142 forks source link

Error:This action could not be completed. Try again. #126

Closed NiuStar closed 4 years ago

NiuStar commented 4 years ago

Describe the bug I use the method checkUsername [[RPVAccountChecker sharedInstance] checkUsername:@"905666153@qq.com" withPassword:@"**" andCompletionHandler:^(NSString failureReason, NSString resultCode, NSArray teamIDArray, NSURLCredential credentials) { NSLog(@"OK %@",failureReason); }]; After execution, the server returns the result as :This action could not be completed. Try again. To Reproduce Steps to reproduce the behavior:

Expected behavior return the gsToken

Screenshots If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

Additional context Add any other context about the problem here.

Can you help me? Thank you very mach

NiuStar commented 4 years ago

I try by your code,but donot work through。 The worning infomation is :This action could not be completed. Try again.

My iOS is not Prison break。

I try the macos ,it is same error。 I need your help,thanks

Matchstic commented 4 years ago

This code absolutely requires private entitlements to gain access to Anisette data from AuthKit. This is added to every request to Apple, and identifies your device to their servers. You need a jailbreak for this.

NiuStar commented 4 years ago

I ran the code with macos , the error is same。

NiuStar commented 4 years ago

I want run it by macos,how can i do it? I see such message,the machine need patch,what can i do it?sorry,I do not kown how can patch the macos,need your help。 Thanks。

Now ,I build a system to sign for normal ios,I can install ipa for device by the device self,do not need Safari and allow it。I just need sign the ipa by free developer cert。now,I need your help,thanks。

Matchstic commented 4 years ago

Honestly, I don’t know how to get it working on macOS. You’re likely going to need a similar approach to AltServer - use a mail plugin to get Anisette data over IPC, avoiding the need to communicate with akd in the app itself.

NiuStar commented 4 years ago

sorry,i can't find any article about 'use a mail plugin to get Anisette data over IPC' , where is the AltServer ? Is https://github.com/rileytestut/AltServer?

Matchstic commented 4 years ago

I’m just trying to give you a direction to start from, based off work someone else has done. I don’t have the answers you’re looking for.