小编Amu*_*608的帖子

Swift 中的 FireBase 电话号码验证错误

我正在我的应用程序中实施 Firebase 电话号码验证。然后在我的应用程序中生成错误:

如果应用程序委托 swizzling 被禁用,则 UIApplicationDelegate 接收到的远程通知需要转发到 FIRAuth\ 的 canHandleNotificaton: 方法。

iphone ios firebase firebase-authentication swift3

6
推荐指数
1
解决办法
1086
查看次数

请将嵌入目标的主机目标添加到 Podfile

我的项目是 Swift 2.0。我尝试了所有可能的方法,但没有找到任何解决方案。

我的豆荚文件

# Uncomment this line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, :deployment_target => '8.0'
# ignore all warnings from all pods
inhibit_all_warnings!
use_frameworks!


def available_pods
    pod 'IQKeyboardManager'
    pod 'Instabug'
    pod "TSMessages"
    pod 'AsyncSwift' , :git => 'https://github.com/duemunk/Async.git'

    pod 'Onboard' # not used
    pod 'DZNEmptyDataSet' # not used
    pod 'iOS-Slide-Menu'
    pod 'Kanna', :git => 'https://github.com/tid-kijyun/Kanna.git'
    pod 'HanekeSwift', :git => 'https://github.com/Haneke/HanekeSwift.git'
    pod 'Alamofire'
    pod 'ObjectMapper', :git => 'https://github.com/Hearst-DD/ObjectMapper.git'
    pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git' …
Run Code Online (Sandbox Code Playgroud)

xcode ios cocoapods swift

3
推荐指数
2
解决办法
3007
查看次数