Skip to content

Use of unresolved identifier 'LyftButton' #18

@wcarhart

Description

@wcarhart

I'm trying to use the SDK with Swift 4 and Xcode 9.3.

I had the same issue as #17, which I fixed by replacing lines 31 and 32 with:

var urlComponents = URLComponents(url: mutableURLRequest.url!, resolvingAgainstBaseURL: false) 
var localVariable = urlComponents 
urlComponents?.queryItems = (localVariable?.queryItems ?? []) + queryItems 

Per this SO post.

Now when I try to use let lyftButton = LyftButton(), I get the error "Use of unresolved identifier 'LyftButton'".

Is this SDK compatible with Swift 4 and Xcode 9.x? Also opened as a SO post.

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