Hello.

I am debugging a command-line app in Xcode 6.2 beta 4 (6C107a) under OSX 
10.10.2. I am passing arguments into the app via the "arguments" tab in the 
debug scheme.

Immediately on arrival in main(), I see xcode has indeed passed my arguments in 
argv[]. However, it has also prepended the project directory to each one!

That is, a switch like "-S" becomes "/Users/my_home/the_project/-S"

Of course, an earlier version of this project seems to be working just fine on 
a co-worker's machine.

Any thoughts? I can slam the right values with code at runtime (assuming it 
will work fine when executed directly in the shell), but this is kind of a PITA.

Thanks,

-- Ward
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to