-
Notifications
You must be signed in to change notification settings - Fork 413
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
Can i able to use WebRTC in Swift Project ? #39
Comments
I haven't tried this this project yet, but if you are targeting iOS 8+ and have updated CocoaPods, you don't need bridging header. Just type use_frameworks! at the top of your Podfile. It will create a framework from this library and you can then import it in your swift file, same as UIKit is imported |
I am using pod 0.39.0 and encountering this issue when |
Yes, the project should work inside your Swift Project. However, because of the static library dependency you'll need to manually integrate into your project or create a framework per @Xioshock The transitive dependency error seems to e an issue with the recent version of cocoa pods. We'll need to investigate this further to find a resolution. |
Here are my steps to integrate APPRTC into my project manually:
|
Awesome. Thanks for posting the instructions! Would be great if someone could help investigate how to fix the transitive dependency error in cocoa pods so the integration would be easier. |
Hi! yes I also did the same like @SeanChenU but I really like how to add appRTC pod or how to create ones in order to has AppRTC client as a Pod and be usefull using swift project. Can anyone did it before? I think I am closer (or not) but I get this error:
|
what is the meanning of 2nd step @SeanChenU |
@saiteja7 the meaning of 2nd step in @SeanChenU comment is that we need to copy in our project the classes that contains AppRTC/Lib folder: ARDAppClient.(h/m) |
okay thanq On 18 August 2016 at 15:00, cmorell [email protected] wrote:
|
Hi, |
I have the same problem can i have more informations for how to solve this issues WorkSpace/Test2/platforms/ios/Test2/Plugins/com.onsip.cordova/libwebrtc_base.a |
i am new to IOS development and i just recently learned swift programming language and i am not familiar with objective C
i know there is a feature called bridging header that allows you to use objective c code in Swift project
but as i am new hop someone suggest me what should i do ?
Thank you
The text was updated successfully, but these errors were encountered: