All things iOS & Swift

Docker: Unauthorized: incorrect username or password

Docker Solution for the error below:

This error occured when running docker run hello-world run docker login and enter your docker account username, not your email.

Install Django 2 in Mac with Pip and Virtual Env

In this post, you will be able to accomplish the following: Install Python3 on Mac Install pip3 on Mac Install and run a Django 2 project brew install python                      note: If you get this kind of error, run the following below.             

        then this:

run ptyhon3 to check if python is successfully installed.           

Continue reading…

Swift web framework and HTTP server on Linux

You ever thought of writing all your codes in Swift? Now you can, with IBM’s Kitura, a Swift web framework and HTTP server that runs on OS X or Linux. Requirements Ubuntu 16.04 Swift 4 Git Open your terminal and download these requirements. Downloading and installing git

Download OpenSSL and libssl-dev

Now, download swift 4.

After downloading and installing everything, untar the swift 4 file by running

Continue reading…

Postfix Configuration using Mac OS X

What is postfix? Postfix is a native mail transfer agent for sending emails, it is natively installed in OS X, all I’m going to show is how to configure it. Open your terminal and log in as a root user. Next, enter this line, “vi /etc/postfix/” without the quotes,  add this line

save the file, google “how to use vi” if you aren’t familiar with it. We need to

Continue reading…

Could not locate configuration file: ‘GoogleService-Info.plist’

As we know that firebase keeps updating their API due to Apple’s Swift 4 coming out, and found this issue today while implementing Firebase API, here’s a quick fix for you. When you are connecting your xcode project file after installing your pod, and you already added, FirebaseApp.configure() inside didFinishLaunchingWihtOptions function, and imported Google-Service-info.plist, select the GoogleService-info.plist and select your projects name under Target Membership(right panel). Build and run your

Continue reading…

  • 1 2 8