Welcome to the Twilio Auth iOS SDK Sample application. This application demonstrates how to use the mobile SDK inside an iOS app.
-
Step 1: Clone the repository to your local machine
-
Step 2: Install the TwilioAuth iOS framework
-
(option 1 - CocoaPods): Run
pod install
in your terminal from inside the cloned repository's working directory. Then open the Xcode Workspace created by CocoaPods (TwilioAuthSample.xcworkspace
). -
(option 2 - Carthage): Run
carthage update
in your terminal from inside the cloned repository's working directory. Navigate to your Xcode project's General settings page. Drag and drop the framework onto the Embedded Binaries section. Ensure that "Copy items if needed" is checked and press Finish. This will add the framework to both the Embedded Binaries and Linked Frameworks and Libraries sections. -
(option 3 - manual): Open the Xcode project (
TwilioAuthSample.xcodeproj
) from the cloned repository's working directory. Download the TwilioAuth iOS framework. Navigate to your Xcode project's General settings page. Drag and drop the framework onto the Embedded Binaries section. Ensure that "Copy items if needed" is checked and press Finish. This will add the framework to both the Embedded Binaries and Linked Frameworks and Libraries sections.
-
-
Step 3: Create and deploy a backend application to handle the device registration
- Check out the full documentation at https://www.twilio.com/docs/quickstart/twilioauth-sdk-quickstart-tutorials
- Contact the Twilio support team at [email protected]