nubomediaTI / Kurento-iOS

Kurento Toolbox for iOS
Apache License 2.0
120 stars 76 forks source link

How to use KurentoToolbox in Swift #41

Open smolskyaleksey opened 6 years ago

smolskyaleksey commented 6 years ago

I try to use Kurento in swift project. I use

import UIKit
import KurentoToolbox

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

and get error No such module 'KurentoToolbox'

my pod file is

source 'https://github.com/CocoaPods/Specs.git'
target 'Test' do
use_frameworks!
pod 'KurentoToolbox'
end
Ivan411 commented 6 years ago

Hi! I solve same problem. You need something this

target 'Test' do pod 'KurentoToolbox', '~> 0.3.0' pod 'SocketRocket end