Link Search Menu Expand Document

Breaking changes in version 1.5.3 of iOS SDK

Platform Cocoapods

The version 1.5.3 of the Survicate iOS SDK introduces support for binary framework, which causes a minor backward compatibility break.

Until the version 1.5.3 the main SDK class was called Survicate, in the version 1.5.3 that class was renamed to SurvicateSdk. The change was introduced to make it possible to distribute Survicate Mobile SDK as the XCFramework binary.

That means the setup step in the AppDelegate class before version 1.5.3 looks as follows:

Swift Objective-C

// ...
import Survicate

class AppDelegate: UIResponder, UIApplicationDelegate {
    // ...
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        return true
// ...
@import Survicate;

@implementation AppDelegate
// ...
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [[Survicate shared] initialize];
    return YES;

Similarly, in all other steps of the setup and installation instead of the SurvicateSdk class, the Survicate class should be used.

👋 If you bump into any problems or need more support, just start a conversation using Intercom in the bottom-right corner and you will be immediately routed to our Customer Support Engineers.