twilio / twilio-video-ios

Programmable Video SDK by Twilio
http://twilio.com/video
Other
64 stars 22 forks source link

Cannot find 'TwilioVideoSDK' in scope #255

Open equianoj opened 1 year ago

equianoj commented 1 year ago

Description

Trying to test out TwilioVideo and integrate it into my own existing app. Been confused by all the startup guides and when trying to add the first functions I keep getting errors saying the methods aren't in scope. Screenshot 2023-02-19 at 9 11 56 PM

I added the TwilioVideo package with URL method on Xcode. Not sure what I am missing Screenshot 2023-02-19 at 9 12 24 PM

Steps to Reproduce

  1. Add TwilioVideo with Swift Package Manager and github link https://github.com/twilio/twilio-video-ios/
  2. Add functions from TwilioVideoSDK to viewController file

Expected Behavior

Expect methods to be in scope

Actual Behavior

Errors showing TwilioVideo out of scope

Reproduces How Often

100%

Versions

All relevant version information for the issue.

Video iOS SDK

5.5 via Swift Package Manager

Xcode

14.2

iOS Version

16.0

iOS Device

iPhone 14 Pro

piyushtank commented 1 year ago

Please make sure TwilioVideo SDK is integrated into the app.

  1. If you are using Swift package manager, please make sure it has has resolved all dependencies.
  2. If you are using manual integration, please make sure the framework has been copied properly into the project.

See docs for more info - https://www.twilio.com/docs/video/ios#add-the-video-sdk