691 个重复的建筑符号 x86_64
691 duplicate symbols for architecture x86_64
我知道这似乎是一个常见问题,但我已经尝试了所有我能找到的有关此问题的方法。
我正在尝试在我的 iOS 应用中使用 AdMob 和 Firebase Analytics。我用 CocoaPods 安装了它们。不管我怎么努力。我收到以下错误:
691 个重复的建筑符号 x86_64
我已经尝试 'clean build',清理我的派生数据,pod deintegrate。
我的 Podfile 中有以下内容:
pod ‘Firebase/AnalyticsWithoutAdIdSupport’
pod 'Google-Mobile-Ads-SDK'
这是我的 Podfile.lock
PODS:
- Firebase/AnalyticsWithoutAdIdSupport (8.4.0):
- Firebase/CoreOnly
- FirebaseAnalytics/WithoutAdIdSupport (~> 8.4.0)
- Firebase/CoreOnly (8.4.0):
- FirebaseCore (= 8.4.0)
- FirebaseAnalytics/WithoutAdIdSupport (8.4.0):
- FirebaseCore (~> 8.0)
- FirebaseInstallations (~> 8.0)
- GoogleAppMeasurement/WithoutAdIdSupport (= 8.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- FirebaseCore (8.4.0):
- FirebaseCoreDiagnostics (~> 8.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- FirebaseCoreDiagnostics (8.4.0):
- GoogleDataTransport (~> 9.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- nanopb (~> 2.30908.0)
- FirebaseInstallations (8.4.0):
- FirebaseCore (~> 8.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/UserDefaults (~> 7.4)
- PromisesObjC (< 3.0, >= 1.2)
- Google-Mobile-Ads-SDK (8.8.0):
- GoogleAppMeasurement (< 9.0, >= 7.0)
- GoogleUserMessagingPlatform (>= 1.1)
- GoogleAppMeasurement (8.4.0):
- GoogleAppMeasurement/AdIdSupport (= 8.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (8.4.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleAppMeasurement/WithoutAdIdSupport (8.4.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleDataTransport (9.1.0):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUserMessagingPlatform (2.0.0)
- GoogleUtilities/AppDelegateSwizzler (7.5.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.5.0):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.5.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (7.5.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (7.5.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.5.0)"
- GoogleUtilities/Reachability (7.5.0):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.5.0):
- GoogleUtilities/Logger
- nanopb (2.30908.0):
- nanopb/decode (= 2.30908.0)
- nanopb/encode (= 2.30908.0)
- nanopb/decode (2.30908.0)
- nanopb/encode (2.30908.0)
- PromisesObjC (2.0.0)
DEPENDENCIES:
- Firebase/AnalyticsWithoutAdIdSupport
- Google-Mobile-Ads-SDK
SPEC REPOS:
trunk:
- Firebase
- FirebaseAnalytics
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseInstallations
- Google-Mobile-Ads-SDK
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleUserMessagingPlatform
- GoogleUtilities
- nanopb
- PromisesObjC
任何建议将不胜感激。我什么都试过了,快要疯了。
更新:奇怪的是,如果我在空白目录中创建一个完全空白的 Xcode 项目,并添加相同的两个 pods,我会得到完全相同的问题。
更新:如果我使用标准 'pod ‘Firebase/Analytics',我不会遇到问题。也许只是 pod ‘Firebase/AnalyticsWithoutAdIdSupport’ 坏了?
将 Podfile 更改为:
pod ‘Firebase/Analytics’
pod 'Google-Mobile-Ads-SDK'
Firebase/AnalyticsWithoutAdIdSupport
和 Google-Mobile-Ads-SDK
不是受支持的组合。 Google-Mobile-Ads-SDK
需要广告支持。
我知道这似乎是一个常见问题,但我已经尝试了所有我能找到的有关此问题的方法。
我正在尝试在我的 iOS 应用中使用 AdMob 和 Firebase Analytics。我用 CocoaPods 安装了它们。不管我怎么努力。我收到以下错误: 691 个重复的建筑符号 x86_64
我已经尝试 'clean build',清理我的派生数据,pod deintegrate。
我的 Podfile 中有以下内容:
pod ‘Firebase/AnalyticsWithoutAdIdSupport’
pod 'Google-Mobile-Ads-SDK'
这是我的 Podfile.lock
PODS:
- Firebase/AnalyticsWithoutAdIdSupport (8.4.0):
- Firebase/CoreOnly
- FirebaseAnalytics/WithoutAdIdSupport (~> 8.4.0)
- Firebase/CoreOnly (8.4.0):
- FirebaseCore (= 8.4.0)
- FirebaseAnalytics/WithoutAdIdSupport (8.4.0):
- FirebaseCore (~> 8.0)
- FirebaseInstallations (~> 8.0)
- GoogleAppMeasurement/WithoutAdIdSupport (= 8.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- FirebaseCore (8.4.0):
- FirebaseCoreDiagnostics (~> 8.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- FirebaseCoreDiagnostics (8.4.0):
- GoogleDataTransport (~> 9.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/Logger (~> 7.4)
- nanopb (~> 2.30908.0)
- FirebaseInstallations (8.4.0):
- FirebaseCore (~> 8.0)
- GoogleUtilities/Environment (~> 7.4)
- GoogleUtilities/UserDefaults (~> 7.4)
- PromisesObjC (< 3.0, >= 1.2)
- Google-Mobile-Ads-SDK (8.8.0):
- GoogleAppMeasurement (< 9.0, >= 7.0)
- GoogleUserMessagingPlatform (>= 1.1)
- GoogleAppMeasurement (8.4.0):
- GoogleAppMeasurement/AdIdSupport (= 8.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (8.4.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleAppMeasurement/WithoutAdIdSupport (8.4.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.4)
- GoogleUtilities/MethodSwizzler (~> 7.4)
- GoogleUtilities/Network (~> 7.4)
- "GoogleUtilities/NSData+zlib (~> 7.4)"
- nanopb (~> 2.30908.0)
- GoogleDataTransport (9.1.0):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUserMessagingPlatform (2.0.0)
- GoogleUtilities/AppDelegateSwizzler (7.5.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.5.0):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.5.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (7.5.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (7.5.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.5.0)"
- GoogleUtilities/Reachability (7.5.0):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.5.0):
- GoogleUtilities/Logger
- nanopb (2.30908.0):
- nanopb/decode (= 2.30908.0)
- nanopb/encode (= 2.30908.0)
- nanopb/decode (2.30908.0)
- nanopb/encode (2.30908.0)
- PromisesObjC (2.0.0)
DEPENDENCIES:
- Firebase/AnalyticsWithoutAdIdSupport
- Google-Mobile-Ads-SDK
SPEC REPOS:
trunk:
- Firebase
- FirebaseAnalytics
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseInstallations
- Google-Mobile-Ads-SDK
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleUserMessagingPlatform
- GoogleUtilities
- nanopb
- PromisesObjC
任何建议将不胜感激。我什么都试过了,快要疯了。
更新:奇怪的是,如果我在空白目录中创建一个完全空白的 Xcode 项目,并添加相同的两个 pods,我会得到完全相同的问题。
更新:如果我使用标准 'pod ‘Firebase/Analytics',我不会遇到问题。也许只是 pod ‘Firebase/AnalyticsWithoutAdIdSupport’ 坏了?
将 Podfile 更改为:
pod ‘Firebase/Analytics’
pod 'Google-Mobile-Ads-SDK'
Firebase/AnalyticsWithoutAdIdSupport
和 Google-Mobile-Ads-SDK
不是受支持的组合。 Google-Mobile-Ads-SDK
需要广告支持。