How to open Xcode from terminal?

前端 未结 6 1889
囚心锁ツ
囚心锁ツ 2021-01-30 05:04

I noticed my current bash file has export PATH=$PATH:/Applications/MAMP/library/bin which i put there to set up terminal access to mamp. I\'ve been trying to compi

6条回答
  •  悲哀的现实
    2021-01-30 05:30

    You are in wrong directory. Consider 'a' folder on desktop that contains a.xcodeproj and other files. Navigate to 'a' directory in terminal.

    MACBOOK-Users: macbook$ cd Users/macbook/Desktop/a 
    

    Now, macbook$ open a.xcodeproj on terminal. This opens 'a' project in Xcode.

提交回复
热议问题