Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Login Failure on MacOSX => error -22410 #137

Open
evandrix opened this issue Jan 2, 2020 · 2 comments
Open

Login Failure on MacOSX => error -22410 #137

evandrix opened this issue Jan 2, 2020 · 2 comments

Comments

@evandrix
Copy link

evandrix commented Jan 2, 2020

I finally managed to get all the Products to compile successfully.

Then I tried to use the new Apple auth code, by adding the following code in /macOS/AppDelegate.m:

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
	NSLog(@"applicationDidFinishLaunching");
	void (^handler)(NSError*, NSDictionary*, NSURLCredential*) = ^void(NSError* err, NSDictionary* dict, NSURLCredential* cred) {
		NSLog(@"handler");
		NSLog(@"err:%@",[err localizedDescription]);
		NSLog(@"dict:%@",dict);
		NSLog(@"cred:%@",cred);
	};
	[[EEAppleServices sharedInstance] signInWithUsername:@"user@email.com" password:@"password" andCompletionHandler:handler];
}

I tried using my actual Apple ID password, and separately in another attempt, an App-Specific password, both were rejected.

The following is the error output message produced:

2020-01-02 16:36:04.968665+0800 ReProvision[26501:77242] [DEBUG] Response: {
    Status =     {
        ec = "-22410";
        ed = "";
        em = "This action could not be completed. Please try again.";
        hsc = 200;
    };
}
2020-01-02 16:36:04.970166+0800 ReProvision[26501:77238] handler
2020-01-02 16:36:04.970343+0800 ReProvision[26501:77238] err:(null)
2020-01-02 16:36:04.970778+0800 ReProvision[26501:77238] dict:{
    reason = incorrectCredentials;
    userString = "This action could not be completed. Please try again. (-22410)";
}
2020-01-02 16:36:04.970940+0800 ReProvision[26501:77238] cred:(null)

Any idea why this is failing? Any idea how to fix?

Thanks

@evandrix evandrix changed the title Login Failure Login Failure on MacOSX => error -22410 Jan 2, 2020
@kshipeng
Copy link

Me too, on iOS

@evandrix
Copy link
Author

there seems to be a new version of ReProvision out on Cydia (checkra1n/unc0ver) that appears to be working properly, if installed direct from the store/repository

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants