duplicate symbol with ExpoModulesCore & UMReactNativeAdapter iOS

Please provide the following:

  1. SDK Version: Expo 43
  2. Platforms(Android/iOS/web/all): iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.
    “ExpoModulesCore”, “UMReactNativeAdapter” and “EXReactNativeAdapter”

I get 14 Duplicate Symbols errors with ExpoModulesCore and UMReactNativeAdapter and 74 Duplicate Symbols errors from Xcode when I compile.

duplicate symbol '_EXCanAskAgain' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_EXExpiresKey' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_EXGrantedKey' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_EXPermissionExpiresNever' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_EXStatusKey' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_OBJC_CLASS_$_EXPermissionsService' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_OBJC_IVAR_$_EXPermissionsService._moduleRegistry' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_OBJC_IVAR_$_EXPermissionsService._requesters' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_OBJC_IVAR_$_EXPermissionsService._requestersByClass' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_OBJC_METACLASS_$_EXPermissionsService' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXPermissionsService.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXPermissionsService.o)
duplicate symbol '_OBJC_CLASS_$_EXReactNativeUserNotificationCenterProxy' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXReactNativeUserNotificationCenterProxy.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXReactNativeUserNotificationCenterProxy.o)
duplicate symbol '_OBJC_METACLASS_$_EXReactNativeUserNotificationCenterProxy' in:
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/ExpoModulesCore/libExpoModulesCore.a(EXReactNativeUserNotificationCenterProxy.o)
    /Users/<User>/Library/Developer/Xcode/DerivedData/<APP>-cxqetqbsaswqdrgsfmaxeahupetj/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UMReactNativeAdapter/UMReactNativeAdapter.framework/UMReactNativeAdapter(EXReactNativeUserNotificationCenterProxy.o)
ld: 12 duplicate symbols for architecture arm64

already responded to you on stackoverflow, but one thing i noticed here is that you’re using expo-permissions which is not available for sdk 43. we deprecated it several sdks ago and no longer support it. use module specific permissions requesters instead

thanks for the advice again

I’m experiencing the same thing… Not using the expo-permissions package.

EDIT: Pretty sure I found the StackOverflow answer. Linking here in case someone else down the line has the same issue.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.