0

我通过点击此链接在我的 ios 应用程序中添加了 AppsFlyer

关联

并显示以下错误

    duplicate symbol _OBJC_CLASS_$_AppsFlyerUtils in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerUtils.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerUtils.o)
duplicate symbol _OBJC_METACLASS_$_AppsFlyerUtils in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerUtils.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerUtils.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._appsFlyerDevKey in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._useReceiptValidationSandbox in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.userEmails in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_CLASS_$_AppsFlyerTracker in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_METACLASS_$_AppsFlyerTracker in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._backgroundTaskIdentifier in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.sessionConfiguration in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.sourceApplication in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.statSession in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.keychain in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.deeplink in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._isDebug in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._disableAppleAdSupportTracking in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._disableIAdTracking in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.dispatchQueue in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._delegate in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.emailCryptType in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.lastLaunchTime in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.platfromDevName in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._shouldCollectDeviceName in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._currencyCode in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._deviceTrackingDisabled in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.pushPayload in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.iADV3data in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._customData in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.didCollectIAdData in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker.referralURL in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._customerUserID in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerTracker._appleAppID in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerTracker.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerTracker.o)
duplicate symbol _OBJC_CLASS_$_AppsFlyerServerHandler in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerServerHandler.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerServerHandler.o)
duplicate symbol _OBJC_METACLASS_$_AppsFlyerServerHandler in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerServerHandler.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerServerHandler.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCache.cachedRequests in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCache.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCache.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCache.cacheDirectoryPath in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCache.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCache.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCache.failedToInitialize in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCache.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCache.o)
duplicate symbol _OBJC_CLASS_$_AppsFlyerRequestCache in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCache.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCache.o)
duplicate symbol _OBJC_METACLASS_$_AppsFlyerRequestCache in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCache.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCache.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCache.isSendingCachedData in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCache.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCache.o)
duplicate symbol _OBJC_CLASS_$_AppsFlyerKeychainWrapper in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerKeychainWrapper.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerKeychainWrapper.o)
duplicate symbol _OBJC_METACLASS_$_AppsFlyerKeychainWrapper in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerKeychainWrapper.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerKeychainWrapper.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerKeychainWrapper.identifier in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerKeychainWrapper.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerKeychainWrapper.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerKeychainWrapper.accessGroup in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerKeychainWrapper.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerKeychainWrapper.o)
duplicate symbol _OBJC_CLASS_$_AppsFlyerDictionary in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerDictionary.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerDictionary.o)
duplicate symbol _OBJC_METACLASS_$_AppsFlyerDictionary in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerDictionary.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerDictionary.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerDictionary._dict in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerDictionary.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerDictionary.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCacheData._cacheKey in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCacheData.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCacheData.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCacheData._sdkVersion in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCacheData.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCacheData.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCacheData._postData in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCacheData.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCacheData.o)
duplicate symbol _OBJC_CLASS_$_AppsFlyerRequestCacheData in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCacheData.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCacheData.o)
duplicate symbol _OBJC_METACLASS_$_AppsFlyerRequestCacheData in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCacheData.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCacheData.o)
duplicate symbol _OBJC_IVAR_$_AppsFlyerRequestCacheData._requestURL in:
    /Users/Company/Documents/iosApp/AppsFlyer.framework/AppsFlyer(AppsFlyerRequestCacheData.o)
    /Users/Company/Documents/iosApp/Company/libAppsFlyerLib.a(AppsFlyerRequestCacheData.o)
ld: 54 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

有人知道吗?

4

2 回答 2

0

请检查 Build Phases -> Link Binary With Libraries 并删除目标中的重复项

于 2016-06-02T10:50:48.673 回答
0

检查您的项目导航器,您已经导入了两次相同的文件,或者文件中有一些循环import

于 2016-06-02T10:55:14.387 回答