Ubuntu 32

Just go to appstore, type xcode to search and click on it icon, you will see update button. Next, click update, it will take about 1 Gb to update and some times. Finally it will be completely updated. This method work for me.