Quickly Adding Multiple Frameworks to an Xcode Project

Categories:

There are a few popular third party iOS frameworks such as AFNetworking and Parse that require you to add a number of Apple frameworks to your Xcode project. For example, if you add the Parse framework to your project you’re looking at also adding:

  • AudioToolbox.framework
  • CFNetwork.framework
  • CoreGraphics.framework
  • CoreLocation.framework
  • libz.dylib
  • MobileCoreServices.framework
  • QuartzCore.framework
  • Security.framework
  • StoreKit.framework
  • SystemConfiguration.framework

Adding each of these one at a time (with the pane closing after each addition) is annoying, so thankfully Xcode provides a quicker way using the Apple command key. To add multiple frameworks at once hold down the command key when making a selection in the Choose frameworks and libraries to add pane. After making all of your selections click Add.

add_multiple_frameworks

Leave a Reply

Your email address will not be published. Required fields are marked *