[GH-ISSUE #158] AppDelegate.mm: No known class method for selector 'startWithHostName:' #95

Closed
opened 2026-03-03 19:11:46 +03:00 by kerem · 1 comment
Owner

Originally created by @retyui on GitHub (Jan 27, 2025).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/158

Docs are incorect, fix:

#import "AppDelegate.h"
#import "Atlantis-Swift.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
-    [Atlantis startWithHostName:nil];
+   [Atlantis startWithHostName:nil shouldCaptureWebSocketTraffic:YES];
      return YES;
}
Originally created by @retyui on GitHub (Jan 27, 2025). Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/158 Docs are incorect, fix: ```diff #import "AppDelegate.h" #import "Atlantis-Swift.h" @interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. - [Atlantis startWithHostName:nil]; + [Atlantis startWithHostName:nil shouldCaptureWebSocketTraffic:YES]; return YES; } ```
kerem closed this issue 2026-03-03 19:11:46 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 28, 2025):

thanks for the update 👍

<!-- gh-comment-id:2617578865 --> @NghiaTranUIT commented on GitHub (Jan 28, 2025): thanks for the update 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/atlantis#95
No description provided.