jgh- / VideoCore-Inactive

*No longer in development* Please see https://github.com/unpause-live/SwiftVideo
MIT License
1.48k stars 540 forks source link

Specified Podfile does not work #331

Open jonlund opened 8 years ago

jonlund commented 8 years ago

The instructions for getting started include creating a Podfile. The result errors out--I believe because of breaking changes in cocoapods 1.0. It says it requires a target.

shawn-shen commented 8 years ago

Have the same problem here, the project cloned does not build without pods...anyone got a solution for this?

ankur-sardar commented 8 years ago

@jonlund @shawn-shen : Here Is a solution for you. If you are using CocoaPods 1.0.1, then use "SampleBroadcaster-Swift" in sample code. And in the Podfile, add ( target 'SampleBroadcaster-Swift' )

Here is my Podfile


platform :ios, '8.0'

source 'https://github.com/CocoaPods/Specs.git'

See: http://guides.cocoapods.org/making/making-a-cocoapod.html#release

Once the pod has been released, use a version number here instead of a path.

pod 'VideoCore', '~>0.3.2'

pod 'VideoCore', path: '../..'

target 'SampleBroadcaster-Swift'

pod 'glm', :git => 'https://github.com/maxcampolo/glm.git' pod 'VideoCore/Swift', :git => 'https://github.com/maxcampolo/VideoCore.git', :branch => 'update_headers' use_frameworks!