How to run xcode from terminal?

后端 未结 7 2373
挽巷
挽巷 2020-12-23 11:37

My question is very simple: suppose there is an xcode project a.xcodeproj, could I open it with the command: xcode a.xcodeproj?

If I try this, I receiv

相关标签:
7条回答
  • 2020-12-23 12:01

    open terminal, then go to the path where Xcode is installed. Then, go to its "Contents/MacOS". And when you reach this folder, then type - sudo ./Xcode

    Or else follow the following code: (you can use "sudo" if the user has privilege issue)

    cd /  
    cd Applications
    cd Xcode.app
    cd Contents/MacOS
    sudo ./Xcode
    
    0 讨论(0)
提交回复
热议问题