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 |
---|---|---|
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
- Integrate Flipper in Podfile
- Use flipper public release 0.120.0 or build directly from source
- 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:
- Created 2 years ago
- Comments:15 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sohail-dragon thanks for the extra information. I couldnāt reproduce the issue myself but I will investigate further now.
Weāre having the same issue, without
use_frameworks!
. I canāt see any conflicting OpenSSL library in the Podfile.lock, only theOpenSSL-Universal
brought byFlipper-Folly
.