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=11Check out our
Robot Tic-Tac-Toe app:
https://itunes.apple.com/us/app/robot-tic-tac-toe/id990638517?mt=8