Skip to content

Cannot invoke initializer for type 'Range<_>' with an argument list of type '(Range<String._CharacterView.Index>)' #74

@prateekpulp

Description

@prateekpulp

On installing Pod this issue is coming in class AcceptSDKCardFieldsValidator.swift in this method
It is coming on Last line on return.The framework is locked so i am unable to edit the method.

subscript (r: Range) -> String {
let start = characters.index(startIndex, offsetBy: r.lowerBound)
let end = characters.index(start, offsetBy: r.upperBound - r.lowerBound)
return String(self[Range(start ..< end)])
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions