Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of unresolved identifier 'YoutubeActionController'? #39

Closed
Dbigshooter opened this issue Nov 21, 2016 · 3 comments
Closed

Use of unresolved identifier 'YoutubeActionController'? #39

Dbigshooter opened this issue Nov 21, 2016 · 3 comments
Assignees

Comments

@Dbigshooter
Copy link

Hi there,

Just got the pod and trying to play around with it. I keep getting "Use of unresolved identifier '...'", no matter which controller I try to instantiate, for example:

let actionsheet = YoutubeActionController()

I've imported the lib and all should be fine, however it's not. What to do?

@m-revetria
Copy link
Member

Hi @Dbigshooter,

How did you install XLActionController?

If you're using cocoapods you have to include the subspec associated to the example that you want to use. For example, in order to have the YoutubeActionController available your Podfile should look similar to:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

def app_pods
  pod 'XLActionController'
  pod 'XLActionController/Youtube'
end

target 'YourTarget' do
    app_pods
end

Ensure you have run pod install with that configuration

@m-revetria
Copy link
Member

Closing due to lack of response

@cdeck95
Copy link

cdeck95 commented Aug 20, 2018

Hi, just letting you know this worked for me. Was scratching my head for awhile at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants