1

with other IDE, you can pass parameter to the program via the IDE (it save times instead of typing hello.c parameter1 parameter2 in the shell)

Is there any way to pass parameters to the program trhough the Xcode IDE instead of just clicking on "RUN" then "CONSOLE" (which provide no arguments to the program)

Thanks

1

1 Answer 1

2

Under "Executables" get info on your binary.

Go to the "Arguments" tab, and add them there.

Sign up to request clarification or add additional context in comments.

1 Comment

This seems a little old, how it's done nowadays? I don't find any "executables" option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.