function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Incorporate changes to Salesforce iOS SDK into App

Could anyone tell me how to update the SDK archives in my hybrid app project? I have no idea how to.

I had to make changes to the following code to handle orgs that aren't on the domain in SFAuthenticationManager:

+ (void)resetSessionCookie
    [self removeCookies:[NSArray arrayWithObjects:@"sid", nil]
            fromDomains:[NSArray arrayWithObjects:@"", @"", [SFAccountManager sharedInstance],nil]];
    [self addSidCookieForDomain:@""];
    [self log:SFLogLevelDebug format:@"Adding SID for instance domain %@",[SFAccountManager sharedInstance]];
    [self addSidCookieForDomain:[SFAccountManager sharedInstance]];

The upgrade steps are documented here ( The best way to upgrade is to generate a new sample hybrid app, and move your app's custom changes/artifacts into the newly generated sample app.