After the recent trauma of the last reinstall of OS X Lion, I came across a bit of an issue with the installation of CS 5. No matter what options I chose when doing the trial install, it always ended with the same error.. “Inconsistency in the installer database. Please restart your computer and install again.”
Not even the restart fixed it, which we all know is not very often the case!
Having spent a few frantic hours googling and trying out potential solutions, I finally came across the Adobe Creative Suite Cleaner. A quick run of the tool and finally the install worked!
It’s also worth pointing out, that event though the clean up tool may not be able to find the installation, click the cleanup button anyway. Now restart the trial installer, and you should find it will install as expected.
Have you ever had the need to rename several hundred files, in countless subfolders? Using nothing but Automator you can have it completed in minutes..
Using the method below you can:
- Find & Replace, in either the full name or just the file extension
- Add Date or Time
- Add additional text
- Change the case of the name
- Make Sequential
- Launch ‘Automator’ from the Applications
- Chose Workflow from the menu
- Select ‘Files and Folders’ from the Actions panel on the left hand side
- Then drag a ‘Ask for Finder Items’ to the workflow
- Now, chose a ‘Get Folder Contents’, and tick the box to ‘Repeat for Each Subfolder’
- Then select a ‘Replace Text’ object from the actions menu.
- Change the selections depending on what you are wanting to achieve and then hit the ‘Run’ button.
So you’ve downloaded your fresh copy of Xcode, and are itching to get started.. But what’s this? All your code files are getting stamped with the mysterious __MyCompanyName__? Frustrated huh?
Well despite what some of the tutorials say out on the net, there’s no .plist’s to edit, no terminal commands to execute and no degree in meta physics required.
The company name detail is actually taken directly from the stock ‘Address Book’ application. By now you should have already set up your address book contact, and linked it to your user account.
Open up Address Book, and find your ‘Me’ account, now set the company name on your record and save it. Even if you don’t want to actually publish apps as a company, enter the name you want to appear in the comments, and then save the changes to the record.
That’s it.. No… Honestly, that’s all you need to do! Now close down Xcode. The next time you create a new file the company name will automatically be placed in the comments of the files. Simple really!
Have fun developing!
I came up against a bit of an issue today, I realised my Xcode was stuck on version 4.1 and the AppStore wasn’t detecting the update available to v4.2. Now normally this wouldn’t be an issue, however version 4.1 doesn’t include the iOS 5.* SDK’s.
So I decided the only way around the issue, would be to completely remove the old version, then install the fresh version 4.2 straight from the AppStore.
This seemed to do the trick for me:
- Open Finder
- Open the Utilities folder
- Open a terminal window
- Copy and paste the following line in:
sudo /Developer/Library/uninstall-devtools –mode=all
- Press return
- When prompted, enter your password
- Press return
Xcode should then eventually uninstall. This may take some time depending on the speed on your machine.
I would like to take this opportunity to wish all my readers a very merry Christmas! Lets hope your day is full of good spirits and good food )
Thanks for taking the time to visit my site, and a massive thanks to my regulars and those who take the time to comment and submit tutorials!
Here’s to yet another year at the helm of an ever increasingly popular outlet for tech news/reviews and how-to’s!