我需要一个Firebase/Auth版本,其中UIWebView已经被WKWebView取代了
在AppStore由于使用UIWebView而被拒绝后,我试图更新到不使用它的Firebase pods的版本。但在吊舱更新,吊舱安装,吊舱解体后.Firebase/Auth版本我可以获得Firebase/Auth (5.20.2):
仍然在使用UIWebView,所以我如何更新到最新版本或在我的UIWebView文件和Podfile.lock下面不使用UIWebView的任何版本
# Uncomment the next line to define a global platform for your project
#platform :ios, '9.0'
#target 'globa_jap-desktop' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for globa_jap-desktop
#end
target 'globa_jap-mobile' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Messaging'
pod 'Firebase/Database'
pod 'Fabric'
pod 'Crashlytics'
#Login UI pods
pod 'FirebaseUI/Google'
pod 'FirebaseUI/Twitter'
end
Podfile.lock
PODS:
- Crashlytics (3.14.0):
- Fabric (~> 1.10.2)
- Fabric (1.10.2)
- Firebase/Auth (5.20.2):
- Firebase/CoreOnly
- FirebaseAuth (= 5.4.2)
- Firebase/Core (5.20.2):
- Firebase/CoreOnly
- FirebaseAnalytics (= 5.8.1)
- Firebase/CoreOnly (5.20.2):
- FirebaseCore (= 5.4.1)
- Firebase/Database (5.20.2):
- Firebase/CoreOnly
- FirebaseDatabase (= 5.1.1)
- Firebase/Messaging (5.20.2):
- Firebase/CoreOnly
- FirebaseMessaging (= 3.5.0)
- FirebaseAnalytics (5.8.1):
- FirebaseCore (~> 5.4)
- FirebaseInstanceID (~> 3.8)
- GoogleAppMeasurement (= 5.8.1)
- GoogleUtilities/AppDelegateSwizzler (~> 5.2)
- GoogleUtilities/MethodSwizzler (~> 5.2)
- GoogleUtilities/Network (~> 5.2)
- "GoogleUtilities/NSData+zlib (~> 5.2)"
- nanopb (~> 0.3)
- FirebaseAnalyticsInterop (1.5.0)
- FirebaseAuth (5.4.2):
- FirebaseAuthInterop (~> 1.0)
- FirebaseCore (~> 5.2)
- GoogleUtilities/Environment (~> 5.2)
- GTMSessionFetcher/Core (~> 1.1)
- FirebaseAuthInterop (1.1.0)
- FirebaseCore (5.4.1):
- GoogleUtilities/Environment (~> 5.2)
- GoogleUtilities/Logger (~> 5.2)
- FirebaseDatabase (5.1.1):
- FirebaseAuthInterop (~> 1.0)
- FirebaseCore (~> 5.2)
- leveldb-library (~> 1.18)
- FirebaseInstanceID (3.8.1):
- FirebaseCore (~> 5.2)
- GoogleUtilities/Environment (~> 5.2)
- GoogleUtilities/UserDefaults (~> 5.2)
- FirebaseMessaging (3.5.0):
- FirebaseAnalyticsInterop (~> 1.1)
- FirebaseCore (~> 5.2)
- FirebaseInstanceID (~> 3.6)
- GoogleUtilities/Environment (~> 5.3)
- GoogleUtilities/Reachability (~> 5.3)
- GoogleUtilities/UserDefaults (~> 5.3)
- Protobuf (~> 3.1)
- FirebaseUI/Auth (6.2.1):
- Firebase/Auth (~> 5.0)
- GoogleUtilities/UserDefaults
- FirebaseUI/Google (6.2.1):
- FirebaseUI/Auth
- GoogleSignIn (~> 4.0)
- FirebaseUI/Twitter (6.2.1):
- FirebaseUI/Auth
- TwitterKit (~> 3.0)
- GoogleAppMeasurement (5.8.1):
- GoogleUtilities/AppDelegateSwizzler (~> 5.2)
- GoogleUtilities/MethodSwizzler (~> 5.2)
- GoogleUtilities/Network (~> 5.2)
- "GoogleUtilities/NSData+zlib (~> 5.2)"
- nanopb (~> 0.3)
- GoogleSignIn (4.4.0):
- "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)"
- "GoogleToolboxForMac/NSString+URLArguments (~> 2.1)"
- GTMSessionFetcher/Core (~> 1.1)
- GoogleToolboxForMac/DebugUtils (2.2.2):
- GoogleToolboxForMac/Defines (= 2.2.2)
- GoogleToolboxForMac/Defines (2.2.2)
- "GoogleToolboxForMac/NSDictionary+URLArguments (2.2.2)":
- GoogleToolboxForMac/DebugUtils (= 2.2.2)
- GoogleToolboxForMac/Defines (= 2.2.2)
- "GoogleToolboxForMac/NSString+URLArguments (= 2.2.2)"
- "GoogleToolboxForMac/NSString+URLArguments (2.2.2)"
- GoogleUtilities/AppDelegateSwizzler (5.8.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (5.8.0)
- GoogleUtilities/Logger (5.8.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (5.8.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (5.8.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (5.8.0)"
- GoogleUtilities/Reachability (5.8.0):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (5.8.0):
- GoogleUtilities/Logger
- GTMSessionFetcher/Core (1.4.0)
- leveldb-library (1.22)
- nanopb (0.3.9011):
- nanopb/decode (= 0.3.9011)
- nanopb/encode (= 0.3.9011)
- nanopb/decode (0.3.9011)
- nanopb/encode (0.3.9011)
- Protobuf (3.11.4)
- TwitterCore (3.2.0)
- TwitterKit (3.4.2):
- TwitterCore (>= 3.2.0)
DEPENDENCIES:
- Crashlytics
- Fabric
- Firebase/Auth
- Firebase/Core
- Firebase/Database
- Firebase/Messaging
- FirebaseUI/Google
- FirebaseUI/Twitter
SPEC REPOS:
trunk:
- Crashlytics
- Fabric
- Firebase
- FirebaseAnalytics
- FirebaseAnalyticsInterop
- FirebaseAuth
- FirebaseAuthInterop
- FirebaseCore
- FirebaseDatabase
- FirebaseInstanceID
- FirebaseMessaging
- FirebaseUI
- GoogleAppMeasurement
- GoogleSignIn
- GoogleToolboxForMac
- GoogleUtilities
- GTMSessionFetcher
- leveldb-library
- nanopb
- Protobuf
- TwitterCore
- TwitterKit
SPEC CHECKSUMS:
Crashlytics: 540b7e5f5da5a042647227a5e3ac51d85eed06df
Fabric: 706c8b8098fff96c33c0db69cbf81f9c551d0d74
Firebase: 0c8cf33f266410c61ab3e2265cfa412200351d9c
FirebaseAnalytics: ece1aa57a4f43c64d53a648b5a5e05151aae947b
FirebaseAnalyticsInterop: 3f86269c38ae41f47afeb43ebf32a001f58fcdae
FirebaseAuth: dd7bbf03a5aee0eafb3a1aee4d2812bd74bac890
FirebaseAuthInterop: a0f37ae05833af156e72028f648d313f7e7592e9
FirebaseCore: f1a9a8be1aee4bf71a2fc0f4096df6788bdfda61
FirebaseDatabase: 2c15b0ea6f2c6eb5e57413f9d6340f1e50b81ae3
FirebaseInstanceID: a122b0c258720cf250551bb2bedf48c699f80d90
FirebaseMessaging: 4235f949ce1c4e827aeb19705ba5c53f9b85aa10
FirebaseUI: c9e227a7d44e2e422a461cb3f4ead8dc5c7326e6
GoogleAppMeasurement: ffe513e90551844a739e7bcbb1d2aca1c28a4338
GoogleSignIn: 7ff245e1a7b26d379099d3243a562f5747e23d39
GoogleToolboxForMac: 800648f8b3127618c1b59c7f97684427630c5ea3
GoogleUtilities: 04fce34bcd5620c1ee76fb79172105c74a4df335
GTMSessionFetcher: 6f5c8abbab8a9bce4bb3f057e317728ec6182b10
leveldb-library: 55d93ee664b4007aac644a782d11da33fba316f7
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
Protobuf: 176220c526ad8bd09ab1fb40a978eac3fef665f7
TwitterCore: 8cbc9ad34d91c63a0035ea05bfbfc0d7ca72a28c
TwitterKit: 5e4f41d70b9abdb41df5467f52d7aa2c0fd26ebb
PODFILE CHECKSUM: cb6d407f7cb8b554f5566b911add079a3c3c3021
COCOAPODS: 1.9.1
我尝试在Podfile中设置Firebase/Auth版本,但由于与其他荚不兼容而失败
我的最后一次尝试是从git中直接获得FirebaseCore的最后一个版本。
pod 'FirebaseCore',:git => 'https://github.com/firebase/firebase-ios-sdk.git',:分支=> 'master‘
但失败的消息如下
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/Logger":
In Podfile:
FirebaseCore (from `https://github.com/firebase/firebase-ios-sdk.git`, branch `master`) was resolved to 6.7.0, which depends on
GoogleUtilities/Logger (~> 6.5)
FirebaseUI/Twitter was resolved to 6.2.1, which depends on
FirebaseUI/Auth (= 6.2.1) was resolved to 6.2.1, which depends on
GoogleUtilities/UserDefaults was resolved to 5.8.0, which depends on
GoogleUtilities/Logger (= 5.8.0)
任何帮助,谢谢!
编写Xcode 11.3.1
发布于 2020-06-01 21:05:04
很长一段时间以来,我一直困在Firebase的结账中,当我尝试上传我的应用程序时,我遇到了UIWebView。在终端上,我浏览了项目文件夹并做了如下操作:
pod repo update
pod deintegrate
gem install cocoa pods
然后运行我的podfile并能够获得最新的Firebase Core 6.7.1。但是,我收到了一条关于包含文件丢失的错误消息。最后,我更改了这一行以获取这个标记:
pod 'Firebase/Core', '~> 6.7.0'
这解决了问题。这里没有UIWebVew引用:
Using FirebaseAuth (6.2.3)
https://stackoverflow.com/questions/61639623
复制相似问题