gpt4 book ai didi

swift - 在Swift中安装 'Firebase/Crashlytics' Pod时出错

转载 作者:行者123 更新时间:2023-12-03 09:17:06 24 4
gpt4 key购买 nike

I am installing the pod 'Firebase/Crashlytics' into my Xcode project. the project configuration is: XCode: 10.3 Swift Version: 4.2 Pod Version: 1.8.0.beta.2



安装Pod后发生错误:
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In snapshot (Podfile.lock):
Firebase/CoreOnly (= 6.4.0)

In Podfile:
Firebase/Auth was resolved to 6.4.0, which depends on
Firebase/CoreOnly (= 6.4.0)

Firebase/Crashlytics was resolved to 6.15.0, which depends on
Firebase/CoreOnly (= 6.15.0)

[!] Automatically assigning platform `iOS` with version `11.0` on target `Projects` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

我的podfile中的其他Pod:
# Uncomment the next line to define a global platform for your project

pod 'SwifterSwift'
pod 'AlamofireNetworkActivityIndicator'
pod 'ReachabilitySwift'
pod 'IQKeyboardManagerSwift'
pod 'Nuke'
pod 'FlagPhoneNumber'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Messaging'
pod 'SDDownloadManager'
pod 'Cosmos', '~> 18.0'
pod 'Socket.IO-Client-Swift', '~> 13.2.0'
pod 'SwiftyJSON', '= 4.0'
pod 'AppImageViewer'
pod 'MDGroupAvatarView'
pod 'OpalImagePicker'
pod 'KMPlaceholderTextView', '~> 1.4.0'
pod 'CropViewController'
pod 'GrowingTextView', '0.6.1'
pod 'Firebase/Crashlytics'
end

最佳答案

改变

pod 'Firebase/Core'


pod 'Firebase/CoreOnly'

编辑:

就我而言,我在Podfile中指定了pod版本,因此我必须在Podfile中更改这一行。

关于swift - 在Swift中安装 'Firebase/Crashlytics' Pod时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61138984/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com