diff --git a/src/pages/resources/migration/ios/tabs/migrate-to-3x.md b/src/pages/resources/migration/ios/tabs/migrate-to-3x.md index 92473e2905..14964a97e7 100644 --- a/src/pages/resources/migration/ios/tabs/migrate-to-3x.md +++ b/src/pages/resources/migration/ios/tabs/migrate-to-3x.md @@ -7,14 +7,13 @@ @import AEPIdentity; @import AEPUserProfile; @import AEPServices; -@import AEPAssurance; ... // AppDelegate.m - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { const UIApplicationState appState = application.applicationState; [AEPMobileCore setLogLevel: AEPLogLevelDebug]; - [AEPMobileCore registerExtensions:@[AEPMobileSignal.class, AEPMobileLifecycle.class, AEPMobileUserProfile.class, AEPMobileIdentity.class, AEPMobileAssurance.class] completion:^{ + [AEPMobileCore registerExtensions:@[AEPMobileSignal.class, AEPMobileLifecycle.class, AEPMobileUserProfile.class, AEPMobileIdentity.class] completion:^{ [AEPMobileCore configureWithAppId: @""]; if (appState != UIApplicationStateBackground) { // only start lifecycle if the application is not in the background @@ -29,7 +28,6 @@ ```swift // AppDelegate.swift -import AEPAssurance import AEPCore import AEPIdentity import AEPLifecycle @@ -38,7 +36,7 @@ import AEPUserProfile func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { let appState = application.applicationState - MobileCore.registerExtensions([Signal.self, Lifecycle.self, UserProfile.self, Identity.self, Assurance.self], { + MobileCore.registerExtensions([Signal.self, Lifecycle.self, UserProfile.self, Identity.self], { MobileCore.configureWith(appId: "") if appState != .background { // only start lifecycle if the application is not in the background