flipper: App not connecting to flipper on iOS

🐛 Bug Report

Not able to connect to my react native app via flipper on iOS. Android works perfectly however. ❌ Check required certificates are present ❌ Establish pre-connection setup ❌ Generate csr

Simulator Flipper Logs (Added some extra logging) Doctor
Simulator Screen Shot - iPhone 13 - 2021-11-24 at 22 51 58 Screenshot 2021-11-24 at 10 52 17 PM image

idb: latest Podfile: use_flipper!({ 'Flipper' => '0.120.0' }) AppDelegate.m:

#if DEBUG
#ifdef FB_SONARKIT_ENABLED
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitLayoutPlugin/SKDescriptorMapper.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
#import <FlipperKit/FlipperDiagnosticsViewController.h>
#endif
#endif

...

- (void) initializeFlipper:(UIApplication *)application {
  #if DEBUG
  #ifdef FB_SONARKIT_ENABLED
    FlipperClient *client = [FlipperClient sharedClient];
    SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
    [client addPlugin: [[FlipperKitLayoutPlugin alloc] initWithRootNode: application withDescriptorMapper: layoutDescriptorMapper]];
    [client addPlugin: [[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
    [client addPlugin: [FlipperKitReactPlugin new]];
    [client addPlugin: [[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
    [client start];
  #endif
  #endif
}

Notes: I’m on my corporate laptops which are hooked up with cancers like ZScaler and CrowdStrike Falcon

To Reproduce

  1. Integrate Flipper in Podfile
  2. Use flipper public release 0.120.0 or build directly from source
  3. RN iOS app doesn’t connect and I can’t use plugins.

What I’ve tried

  • Remove all package patches
  • Examine xcode logs (nothing stands out)
  • Examine idb logs (nothing stands out)
  • Examined certs in .flipper/certs (seem all right, no permission issues)

Environment

iOS: iOS 15 - iPhone 13 - Simulator RN: 0.65.1 RN-flipper: 0.120.0 Flipper: 0.120.0

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@sohail-dragon thanks for the extra information. I couldn’t reproduce the issue myself but I will investigate further now.