I made an App

I have made several Android apps but never really finished them. Recently, I have been playing with Phonegap/Cordova. These tools let you write your app in html and javascript, and then compile for different platforms such as Android or iOS.

Also lately I have been trying to meditate everyday but it is hard to find time for it. Of course, you don’t need anything for meditation but a timer is nice. At first, I was using an hourglass, my goal with timer is to¬†meditate at least long enough for timer to go off. Problem with hourglass was I would keep opening my eye to see if I meditate enough or not.

So I looked for meditation apps, and there are thousands of them. Many very polished but too complex. You need to tap several times before timer starts. Then there were others which seemed simple but asked too many permissions or showed ads.

So I build a simple timer app using Cordova. It has no settings, as soon as you open app timer starts. When timer reaches 0, it vibrates for half a second. Now you can either continue to meditate or stop your meditation. Another feature I wanted was to slowly increase timer until it reaches 15 minutes. This is exactly what my app does.

At first, I was using it for myself but I decided to polish it a little and release it on Google Play. It is embarrassingly simple, and I doubt anyone else really needs an app like this. But if you do, then here you go: https://play.google.com/store/apps/details?id=com.chaosplay.meditator

Error: xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory is a command line tools instance

I have been playing with Cordova lately and was getting this error when building iOS version:

Error: xcode-select: error: tool 'xcodebuild' requires Xcode, 
but active developer directory is a command line tools instance

Even full install of Xcode didn’t fix this error.

The solution was to run following command to use full Xcode instead of command line tools version that I had installed earlier:

sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer