This repository contains an example application to demonstrate how to use the Speech to Text functionality of the Watson Developer Cloud Swift SDK.
- Swift 3.0+
- Xcode 8.0+
- iOS 8.0+
This project uses Carthage to manage dependencies. You can install Carthage using Homebrew.
> brew install carthage
- Clone the repository:
git clone https://github.com/watson-developer-cloud/speech-to-text-swift.git
- Build the dependencies:
carthage update --platform iOS
. Please note the project will be downloaded precompiled with Swift 3.0.0. If you are using a version greater than Swift 3.0.0, use the following command instead:carthage update --platform iOS --no-use-binaries
. - Copy
CredentialsExample.swift
toCredentials.swift
:cp CredentialsExample.swift Credentials.swift
- Open
Speech to Text.xcodeproj
in Xcode - Update your Speech to Text instance's credentials in
Credentials.swift
- Build and run the app!