Create a New Xcode Project

Create a new Xcode project.

  1. Select File > New > Project....
  2. Select Single View App.
  3. Ensure that Swift is selected as the development language.
  4. Name your project and location, and click Create.
    Xcode will start in the Project Navigator with the General tab already open.
  5. Scroll to the Embedded Binaries section.
  6. Click + and then Add Other....
  7. Find the live-experience-ios-sdk folder you extracted from the iOS SDK zip.
  8. Open the release folder, select all three framework files inside, and click Open.
  9. Make sure Copy items if needed is selected when prompted, and click Finish.
  10. Click the Build Settings tab.
  11. Enter bitcode into the Search field of the tab.
  12. Change the Enable Bitcode build option from Yes to No.
  13. Request permission to access the camera and microphone in our app.
    1. Click the Info.plist file from the tree view list of the project's files on the left pane of the Xcode window.
      The file displays in the center pane.
    2. Hover your mouse over Information Property List and click +.
    3. Start entering Privacy (with a capital P) and select the option named Privacy - Camera Usage Description.
    4. Set the value of this option to the text you want to display to the end-user when requesting camera access. For example, Can I use your camera?.
    5. Hover your mouse again over Information Property List and click +.
    6. Start entering Privacy (with a capital P) and select the option named Privacy - Microphone Usage Description.
    7. Set the value of this option to the text you want to display to the end-user when requesting microphone access. For example, Can I use your microphone?.