Xcode 6.2b4 modifies argv[] entries?
Xcode 6.2b4 modifies argv[] entries?
- Subject: Xcode 6.2b4 modifies argv[] entries?
- From: Ward Willats <email@hidden>
- Date: Fri, 30 Jan 2015 13:23:46 -0800
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden