hansemannn / facebook-live-ios

📺 A Swift utility "FBSDKLiveVideo" to stream Facebook Live videos on iOS
MIT License
55 stars 20 forks source link

I can't install 'VideoCore' framework using cocoapods in swift 4.0 #13

Closed wang19891103 closed 6 years ago

wang19891103 commented 6 years ago

Hello.

I have downloaded your project in git. Then opened your project, but, pod file was damaged when I open downloaded project.

So I have removed pod history(podfile, podlock, .xcworkspace file) and then I have created new podfile in your project.

Then opened podfile and pasted this - pod 'FBSDKShareKit' pod 'FBSDKLoginKit' pod 'VideoCore', '~>0.3.1'

After install pod, I have run project. But, I have got errors.

"Cannot define or redeclare 'H264Encode' here because namespace 'iOS' does not enclose namespace 'H264Encode'" in H264Encode.mm file.

How can I fix it?

Best regards! Gojko Maric