Tag: terminal
-
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. 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 […]
-
How to create a pod file in Xcode and open it via terminal?
To create a pod file in Xcode project, make sure current directory points to your Xcode project and type the following command to create a pod file in project folder. Now the above command has created a new pod file to our project. In order to open that file from terminal, type the following command […]
-
How to install Cocoapods in macOS using terminal?
Open up terminal and type the following command : Now you will be asked to enter the password: After entering password click enter. Now type the following command: After installing cocoapods, setup completed message will be displayed in terminal.
-
How to add frameworks to Xcode projects using Carthage?
We can include third party frameworks in our Xcode project using Carthage. The steps are as follows: Open up terminal by pressing <command + space> Now copy the file/folder path in which our xcode project is present . In terminal type cd and then the file path. Now type: touch Cartfile . This will create new cartfile inside our project […]
-
How to check carthage version in macOS terminal?
We can check the current version of Carthage installed in macOS using the following command.OPen up terminal by pressing <command + space) and type the below command:
-
How to check Homebrew version in macOS terminal?
We can check the current version of homebrew installed in macOS by typing the following command in terminal.
-
How to install Carthage in mac OS?
Follow the steps below to install carthage in macOS. Open up terminal by pressing <command + space>. Copy paste the following code : 3. Install Carthage by typing in terminal.
-
How to set up a simple web server in mac OS ?
We can set up a simple web server from any directory in mac OS by using the following command. Go to the directory from which we want to run the web server in terminal. Type the above line and the web server will start to run. We can change the port number(9001) as required.
-
Printing to terminal from Laravel App.
When we want to debug laravel stuff and running a *php artisan serve* on a terminal window, we would like to have a utility similar to printf in C, println in Java.. etc. This can be achieved by the following lines of code: Run your Laravel app and you can see something like below: