I'm trying to send two arguments to Xcode through terminal. I've watched some tutorials that had the following steps:
- Change the directory by typing cd followed by the path of the folder containing the program files.
- gcc main.c -o randomProgramName
- ./prog argument1 argument2
My file is a .m file, but replacing the .c the examples uses with a .m doesn't work. I feel like I'm way off. I also installed the command line tools, hoping it would work, but no dice.