Xcode command line tool - how to run in terminal?

后端 未结 3 682
猫巷女王i
猫巷女王i 2021-02-14 03:00

When you create a Command Line Tool project in Xcode you get this, in main.m:

#import 

int main(int argc, const char * argv[])
{
         


        
3条回答
  •  粉色の甜心
    2021-02-14 03:16

    You can have the terminal launch everytime you run the application through editing the scheme. I believe this became available from Xcode 8.0.

    1. Access Edit Scheme

    2. Switch Console from Use Xcode to Use Terminal

提交回复
热议问题