Author Topic: How to add a new framework project to an existing project  (Read 3931 times)

kjmcneish

  • Administrator
  • *****
  • Posts: 719
    • View Profile
How to add a new framework project to an existing project
« on: September 12, 2015, 11:25:48 PM »
To create a new framework project and add it to an existing project:

1. In Xcode, select Editor > Add Target... from the menu.
2. Under the iOS section on the left, select Framework & Library.
3. On the right, select either Cocoa Touch Framework, or Cocoa Touch Static Library
4. Click Next
5. Fill in the dialog with the options for your new framework target. Make sure Embed in Application is set to the project you want to reference the Framework from.
6. Click Finish.

All the best!
Kevin McNeish
Author of Learn to Code in Swift: https://itunes.apple.com/us/book/learn-to-code-in-swift/id942956811?mt=11
Check out our Robot Tic-Tac-Toe app: https://itunes.apple.com/us/app/robot-tic-tac-toe/id990638517?mt=8
« Last Edit: November 15, 2015, 10:11:31 AM by kjmcneish »