How to create a cartfile in Xcode project and open it via terminal?

To create a cartfile in Xcode project, make sure current directory points to your Xcode project and type the following command to create a cartfile in project folder.

touch Cartfile

Now the above command has created a new  cartfile to our project.

In order to open that file from terminal, type the following command (make sure current directory points to your in Xcode project)

open -a Xcode Cartfile

Leave a Reply