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

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.