Run C program in Xcode 4 using makefile

后端 未结 2 1159
野性不改
野性不改 2021-01-18 16:35

I have created an \'External Build Project\' in Xcode 4 using a makefile. The project builds perfectly, except the only way I know how to get it to run is in Terminal.

2条回答
  •  迷失自我
    2021-01-18 16:49

    Yes, you can! Product -> Edit scheme Select "Run" from the left panel, select "Info" from top and specify "Executable" drop list Select next pane "Arguments" and add "Arguments Passed On Launch" (to "Executable" you select before)

提交回复
热议问题