-
Notifications
You must be signed in to change notification settings - Fork 242
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
Build failed on the RN 0.71.3 [IOS] #245
Comments
Try adding flipper_configuration to the use_react_native in the share extension target of your pod file
|
@scottnash doesn't work for me. Can you maybe share your complete Podfile? Maybe I am missing something. Thanks |
@karuzo17 did you remember to rerun pod install after making the change? |
I fixed this error by adding this to my
For anyone who maybe meet this problem too. |
react-native: 0.72.1 Can't build an ios app on the react-native 0.72.1 Build error: Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FKUserDefaultsPlugin", referenced from:
objc-class-ref in libReact-Core.a(RCTAppSetupUtils.o)
"_OBJC_CLASS_$_FlipperClient", referenced from:
objc-class-ref in libReact-Core.a(RCTAppSetupUtils.o)
"_OBJC_CLASS_$_FlipperKitLayoutPlugin", referenced from:
objc-class-ref in libReact-Core.a(RCTAppSetupUtils.o)
"_OBJC_CLASS_$_FlipperKitNetworkPlugin", referenced from:
objc-class-ref in libReact-Core.a(RCTAppSetupUtils.o)
"_OBJC_CLASS_$_FlipperKitReactPlugin", referenced from:
objc-class-ref in libReact-Core.a(RCTAppSetupUtils.o)
"_OBJC_CLASS_$_SKDescriptorMapper", referenced from:
objc-class-ref in libReact-Core.a(RCTAppSetupUtils.o)
"_OBJC_CLASS_$_SKIOSNetworkAdapter", referenced from:
objc-class-ref in libReact-Core.a(RCTAppSetupUtils.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation) I have fixed this error by adding this to my target 'share_extension_name' do target 'share_extension_name' do
use_react_native!(
:hermes_enabled => true,
:flipper_configuration => flipper_config,
)
pod 'RNShareMenu', :path => '../node_modules/react-native-share-menu'
# Manually link packages here to keep your extension bundle size minimal
end |
That fixed it for me on RN 0.72.4 |
This seemed to help me as well |
This worked for me as well 👍 Can we update the instructions? :D #310 |
react-native: 0.71.3
react-native-share-menu: 6.0.0
Can't build an ios app on the react-native 0.71.3
Build error:
The text was updated successfully, but these errors were encountered: