Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Automatically added command line args in xcode

$
0
0

@thomasgeissl wrote:

Hello,
i just realised when i start an app from xccode, xcode passes some command line args to the app. make run or executing the binary works as expected.

int main(int argc, char *argv[])
{
    ofLogNotice() << "argc: " << argc;
    for(int i = 0; i < argc; ++i)
        cout << argv[i] << '\n';
}
[notice ] argc: 3
/Users/thomas.geissl/libs/of_v0.11.0_osx_release/apps/ixds/approccio/bin/approccioDebug.app/Contents/MacOS/approccioDebug
-NSDocumentRevisionsDebugMode
YES

This can be disabled by unchecking “Allow debugging when using document Versions Browser”.

Would that break anything? And should this be disabled by default?
Thomas

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles