Getting duplicates symbols after installing expo-notifications in a bare project (ios)
See original GitHub issueGetting duplicates symbols after installing expo-notifications in a bare project
yarn add expo-notifications && cd ios && pod install
Deploying the app with xcode to a local device leads to duplicate symbols.
I already checked if there is some manual linking going on, but Libraries are clean. Linking is only against pods.
duplicate symbol '_OBJC_IVAR_$_EXRemoteNotificationPermissionRequester._reject' in:
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXNotifications/libEXNotifications.a(EXRemoteNotificationPermissionRequester.o)
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXPermissions/libEXPermissions.a(EXRemoteNotificationPermissionRequester.o)
duplicate symbol '_OBJC_IVAR_$_EXRemoteNotificationPermissionRequester._userNotificationPermissionRequester' in:
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXNotifications/libEXNotifications.a(EXRemoteNotificationPermissionRequester.o)
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXPermissions/libEXPermissions.a(EXRemoteNotificationPermissionRequester.o)
duplicate symbol '_OBJC_CLASS_$_EXRemoteNotificationPermissionRequester' in:
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXNotifications/libEXNotifications.a(EXRemoteNotificationPermissionRequester.o)
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXPermissions/libEXPermissions.a(EXRemoteNotificationPermissionRequester.o)
duplicate symbol '_OBJC_METACLASS_$_EXRemoteNotificationPermissionRequester' in:
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXNotifications/libEXNotifications.a(EXRemoteNotificationPermissionRequester.o)
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXPermissions/libEXPermissions.a(EXRemoteNotificationPermissionRequester.o)
duplicate symbol '_OBJC_IVAR_$_EXRemoteNotificationPermissionRequester._remoteNotificationsRegistrationIsPending' in:
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXNotifications/libEXNotifications.a(EXRemoteNotificationPermissionRequester.o)
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXPermissions/libEXPermissions.a(EXRemoteNotificationPermissionRequester.o)
duplicate symbol '_OBJC_IVAR_$_EXRemoteNotificationPermissionRequester._resolve' in:
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXNotifications/libEXNotifications.a(EXRemoteNotificationPermissionRequester.o)
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXPermissions/libEXPermissions.a(EXRemoteNotificationPermissionRequester.o)
duplicate symbol '_OBJC_IVAR_$_EXRemoteNotificationPermissionRequester._methodQueue' in:
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXNotifications/libEXNotifications.a(EXRemoteNotificationPermissionRequester.o)
/Users/AB/Library/Developer/Xcode/DerivedData/kinikana-gwnqyjnevydhebahxkjqtmrmushg/Build/Products/Debug-iphoneos/EXPermissions/libEXPermissions.a(EXRemoteNotificationPermissionRequester.o)
Targets:
- IOS
- Android (runs fine)
Versions:
"expo-notifications": "0.3.1",
"expo-permissions": "8.1.0",
"react-native-unimodules": "0.9.1",
I don’t know how, but it looks like libEXNotifications
is colliding with libEXPermissions
?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Notifications - Expo Documentation
Schedule a notification repeating in some time interval (or a calendar date match on iOS),; Get and set application badge icon number,; Fetch...
Read more >expo-notifications-bux-fix v0.12.0 - npm.io
Run npx pod-install after installing the npm package. In order to be able to receive push notifications on the device: open Xcode workspace...
Read more >Expo SDK Setup - OneSignal Documentation
Instructions for adding the OneSignal React Native & Expo SDK to your app for iOS, Android, and derivatives like Amazon.
Read more >218 duplicate symbols for architecture arm64 Firebase IOS ...
I have added Firebase SDK in XCode but when building it says Error: 218 duplicate symbols for architecture arm64.
Read more >React Native Push Notifications Tutorial | Expo - YouTube
pushnotifications #reactnativeThis tutorial is all about sending dynamic and personalised push notifications to your one of or all of your ...
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 Free
Top 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
Hey all, sorry for introducing this bug. For those interested, it has been introduced in https://github.com/expo/expo/pull/8486 (you can read the discussion underneath merge event).
Good news is the fix has just landed on
master
and I also published it asexpo-notifications@0.3.2
, so go get the upgrade while it’s hot!@sjchmiela thanks for the quick fix I can confirm: The linking error is gone