-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined symbols for architecture arm64 - FlipperKitNetworkPlugin #29336
Comments
Defining extra |
Same issue in my project for production builds. Can you guys please check? |
@v-anton Which file should be modified for your workaround? |
AppDelegate.m |
On the
|
@v-anton Thanks, but I think this is the issue of latest [email protected] template anyway. I will use your workaround for now |
Thanks @v-anton, I've used your workaround too.
|
This is a bit incorrect syntax, as my IDE shows an error here... |
I confirm on RN 0.63.1 this worked for me and I don't have any alert from Xcode that it's incorrect syntax. #if DEBUG
#ifdef FB_SONARKIT_ENABLED
InitializeFlipper(application);
#endif
#endif |
OK, thanks @mtt87 |
After migrate to RN 0.63.1 with the configuration below the error persists. On build settings, I have
Other suggestions? |
@carolinafbarros have you tried to clean build folder and rebuild from scratch? #if DEBUG
#ifdef FB_SONARKIT_ENABLED
#import <FlipperKit/FlipperClient.h>
#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
static void InitializeFlipper(UIApplication *application) {
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 But not sure if it's related, a colleague didn't do it and it worked. I have same architectures in build settings. |
Those someone has problem with these process ? I try all yours solutions, but nothing work, I've always the same error... |
Thank you, perfect |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Any Workaround for this? |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Description
After using the upgrade helper, in order to update to the last version of RN (0.63.0) I had some build errors related to Flipper.
Upgrade helper: https://react-native-community.github.io/upgrade-helper/?from=0.62.2&to=0.63.0
React Native version:
Steps To Reproduce
Expected Results
Expected to build and successfully launch the app
Snack, code example, screenshot, or link to a repository:
Build Settings
Valid Architectures:
arm64 arm64e armv7 armv7s
Podfile
Build Error
The text was updated successfully, but these errors were encountered: