Okta OIDC iOS nor working on build

I develop iOS app with Xcode on Mac.
I’m using Okta Open ID Connect Library ref: https://cocoapods.org/pods/OktaOidc#api-reference

On the part " Handle the redirect" I have to do this :
// AppDelegate.swift
import OktaOidc

var oktaOidc: OktaOidc?

func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any]) -> Bool {
  // oktaOidc - Configured OktaOidc instance used to start SignIn/SignOut flow. 
  return oktaOidc.resume(url: url, options: options)

but the line " return oktaOidc.resume(url, options: options)" create a build failed with this error:
“'resume(_:options:)’ is unavailable in iOS: Unused on iOS 11+

Is the problem come from me or the documentation ?