How to keep multiple versions of Elasticsearch on MacOS

Hello Folks,

Hope you are keeping safe!

This article is very short and simple. I was struggling to have multiple versions of Elasticsearch on my local Mac machine. With `homebrew` service, I wasn’t able to install multiple versions of Elasticsearch and I don’t want to move away from brew. So, I have decided to work on the alternate.

Here’s are the steps:

* If you have elasticsearch installed with brew command. Keep it as-is
* Stop elasticsearch service.

$ brew tap homebrew/services
$ brew services list
$ brew services stop elasticsearch-full # that's my case. Yours will be different
==> Successfully stopped `elasticsearch-full` (label: homebrew.mxcl.elasticsearch-full)
# now if you try to curl localhost:9200
$ curl http://localhost:9200
curl: (7) Failed to connect to localhost port 9200: Connection refused
  • Install evm (ElasticSearch Version Manager) from:
  • Install elasticsearch@7.4 with evm install 7.4.0
  • Start elasticsearch: evm start
  • Try hitting the curl request and you should see version 7.4.0
  • If you want to run previous version (that you’ve installed with Homebrew), simply run: evm stop  and then run brew services start elasticsearch-full

Thankful to:

Hope that helps!


How to submit your iOS application to Apple store

Hi Folks,

For all the iOS developers, who are developing an iOS application and now would like to submit their app to Apple store, all you need is to follow the below steps.

The article is updated according to the latest deployment changes introduced by Apple from March 1, 2013 onwards.


1. Distribution Certificate

2. Provisioning Profile

3. Xcode 4.6.2

4. iOS 6 and above

5. Mac OS 10.8

6. An iPhone or iPad.

NOTE: I can’t cover how will you get the Distribution and Provisioning certificates and profiles, but in short I’ve created my account on and the client for whom I worked with, has added me and provided me all the required certificates. But, if you would like to create your own, please read out apple documentation.

1 Distribution certificate: log-in to you account. Go to -> Certificates, Identifier and Profiles under iOS Developer Program.

  • Click on ‘Certificates’ under iOS Apps.
  • Show the full list under ‘Certificates’ and click on ‘Distribution’.
  • You’ll find a Distribution Certificate (as Type). Download it.
  • Double click on it. It will be open in your ‘Key Chain‘ utility under ‘My Certificates‘.

2. Provisioning Profile: Follow step 1 of Distribution certificate.

  • Click on ‘Certificates’ under iOS Apps.
  • Show the full list under ‘Provisioning Profiles’ and click on ‘Distribution’.
  • You’ll find Distribution Provisioning Profile (as Type). Download it.
  • Double click on it. It will be open in your Xcode.

3. Attach your device with you Mac system and make sure it comes under your ‘Xcode Organizer’ menu.

4. Please keep in mind of below pointers:

  • Make sure your build is clean.
  • Make sure you’ve re-run your build once it’s cleaned.
  • Make sure you’ve run your build on the device to ensure everything is working fine. Because failure of just 1 piece of functionality will not allow you to submit your app to Apple store.
  • Make sure you’ve defined all the dependencies of your application (for e.g. Camera, Maps etc.). Because, when apple reviews your application, it checks weather all the dependencies all defined or not!

5. Your application submission depends on the below steps (we will cover each in detail):

  • Select your connected device near the ‘Run’ button.
  • Set the command line build to Distribution from the drop-down menu.
  • Open info.plist and change the bundle identifier to the appropriate one.
  • Make sure all the launch images are configured/defined properly.
  • Ensure to define distribution certificate under ‘Build Settings’ for Distribution entity.

6. Once all the checks are done. Go to ‘Edit Scheme’ -> ‘Archive’ and change the build configuration on the same window to Distribution.

7. Click on ‘Product’ -> ‘Archive’. This will clean, re-build your application. If no errors found, a new window will open (go to step 8). If error occurs (follow step 4 and 5).

8. You’re almost at the end. In the new window, 2 buttons will be there:

  • Validate and
  • Submit
  • Validate checks if all the required dependencies meet + builds your application
  • Submit validates your application. Requires itnues connect credentials.

I’ll add the necessary screenshots very soon.

Let me know if this article is helpful or need any modification.

Puneet Pandey


Hello Everyone,

Since last couple of months, I was very busy in travelling, looking after my family, managing lot of other things. That’s why I didn’t get a chance to update my Blog.

One interesting thing, which happened 1 month back, is somehow, I got an opportunity to work with iPad Application. At first I thought, I am into RoR development since last 3 years, so why should I learn this new technology? What’s the future of it? Where I will be after 2 years down the line?

And surprisingly, I got an offer to work with both the technologies (i.e Ruby on Rails as well as iPad). Looks overload, isn’t it? Not at all :)

I admit the fact, that I am bit out of touch with the recent updates happening in Ruby on Rails community, because of the new iPad project, but I am hoping to get myself back into this very soon. But my existing knowledge into RoR, is helping my and my team, to accelerate the development speed.

In this post, I would like to tell you about the background of iPad development, Obejctive-C and Sqlite3 database.

This is not an in-depth technical article, but It will certainly help those developers, who are shifting their technologies or would like to try iPad/iPhone development.

To start with Basic development, all you need is:

  • The basic/advanced knowledge of Objective-C, which you’ll find it easy to learn at first go, but way to difficult when it comes to actual implementation. So be very focused while learning.
  • An Apple Machine. Macbook/Mac Mini would be good to go.
  • Xcode – A development tool for building iPad/iPhone App. Its free and you’ll get it from iTunes.
  • Sqlite3 – All applications running on iPad/iPhone are using Sqlite3 as a Data Storage device. So, If you’re thinking of using MySQL or Oracle or any database of your choice, the answer is ‘NO’. It comes by default with Xcode.
  • iPad Device: To test your application and see how it actually runs on iPad. To start with you can also see your application on Simulator.
  • On top of all this, you must have an Apple account. Charges to create your account is 1$.