Skip to content

1 Getting Started

davedufresne edited this page Nov 25, 2015 · 1 revision

Adding SwiftParsec to your project or workspace

  1. Download the framework to a suitable folder on your computer.
  2. Open the project or workspace you would like to use with SwiftParsec.
  3. Right-click in the Project navigator pane and choose 'Add Files to "My Project"...'.
  4. Navigate to the SwiftParsec folder, choose the "SwiftParsec.xcodeproj" file and click "Add".
  5. Click on your project in the Project navigator and choose the target you want to link against SwiftParsec.
  6. Under the "General" tab there is a section entitled "Linked Frameworks and Libraries". Click on the "+" button under that section and choose SwiftParsec in the popup window that will appear.
  7. In the scheme selector chose the SwiftParsec framework and hit ⌘+b to build the library.
  8. Set the active scheme to your app and you just have to import SwiftParsec where needed.
Clone this wiki locally