How to add command line arguments in Xcode 5

Same as in Xcode 4 – find the following commands from the Main Menu:

  • Product
  • Scheme – Edit Scheme
  • find Run in the left hand column
  • click the Arguments tab

Screen Shot 2013-11-20 at 18.25.37





2 thoughts on “How to add command line arguments in Xcode 5

    1. That’s a different scenario: this post discusses how Xcode can pass parameters during the build process. For what you want to do, look into Uniform Type Identifiers (UTI’s). You can use those to define data types in App B that another app can pass when you open from App A. The Apple Documentation has more details: https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/understanding_utis/understand_utis.tasks/understand_utis_tasks.html

Leave a Reply