Skip to main content
Solved

52 duplicate symbols during linking (ios)

  • 5 October 2023
  • 1 reply
  • 2017 views

George Brandes
Forum|alt.badge.img+2

Adding RevenueCat to a new project that built okay without RevenueCat. I’ve tried the project IOS 17 & 16 with RevenueCat. Now get this type of error during linking:

duplicate symbol '_OBJC_METACLASS_$_RCSubscriptionPeriod' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_CLASS_$_RCCustomerInfo' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_CLASS_$_RCPromotionalOfferEligibility' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_CLASS_$_RCPurchases' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_METACLASS_$_RCStoreProductDiscount' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_CLASS_$_RCIntroEligibility' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_METACLASS_$_RCStoreTransaction' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_METACLASS_$_RCStorefront' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_METACLASS_$_RCCustomerInfo' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_CLASS_$_RCDangerousSettings' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
duplicate symbol '_OBJC_METACLASS_$_RCPromotionalOfferSignedData' in:
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat.o
    /Users/username/Library/Developer/Xcode/DerivedData/project-gqirresgntulppesvshjgagnzupy/Build/Products/Debug-iphoneos/RevenueCat_CustomEntitlementComputation.o
 

 

The RevenueCat is 4.27.1

 

Best answer by uk-f63070

Hey George,

This issue already answered at RC Github Page. Could you try that step and build your code again?

https://github.com/RevenueCat/purchases-ios/issues/3117#issuecomment-1697199059

View original
Did this post help you find an answer to your question?

1 reply

Forum|alt.badge.img+1
  • Helper
  • 1 reply
  • Answer
  • October 6, 2023

Hey George,

This issue already answered at RC Github Page. Could you try that step and build your code again?

https://github.com/RevenueCat/purchases-ios/issues/3117#issuecomment-1697199059


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings