question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

App not connecting to flipper on iOS

See original GitHub issue

šŸ› 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

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
lblasacommented, Dec 1, 2021

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

0reactions
yedidyakcommented, May 8, 2022

Weā€™re having the same issue, without use_frameworks!. I canā€™t see any conflicting OpenSSL library in the Podfile.lock, only the OpenSSL-Universal brought by Flipper-Folly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting iOS Issues - Flipper
If during connecting iOS app to Flipper you see error message "Connection failed. Failed to find device <device_id> while trying to connect app"...
Read more >
React Native Flipper Debugging Issue : "NO APPLICATION ...
I have managed to connect a device ( I see logs and see the tree of React Native elements), but now I have...
Read more >
Using Flipper - Expo Documentation
You can add more plugins available in the Flipper desktop app. ... "static" for iOS, integrating Flipper will not work since it is...
Read more >
Latest Mobile App topics - Flipper Zero Community
Topic Replies Views Activity FUNCTION REQUEST: Inā€‘app links 0 56 December 17, 2022 Sync loop on iOS Ā· ios 1 148 December 14, 2022 Mobile app...
Read more >
Join the Flipper Mobile App beta - TestFlight - Apple
Download TestFlight on the App Store for iPhone, iPad, Mac, and Apple TV. ... you can send the developer feedback about issues you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found