Search code examples
iosswiftyelp

Initialization error with CDYelpFusionKit


Trying to use the CDYelpFusionKit api for an app, and I'm getting an error on the first step:

 let yelpAPIClient = CDYelpAPIClient(apiKey: "myapikeyhere")

It's saying that it's an

Use of unresolved identifier 'CDYelpAPIClient'

but I have already installed the dependencies with cocoapods.


Solution

  • You also need to import the framework

    import CDYelpFusionKit