Skip navigation

Monthly Archives: November 2012

After finally submitting my first app to Apple’s App Store, I figured I should pass on some helpful tips that I learned during the process.

  1. If you have an idea for an app, go ahead and create the application in iTunes Connect now.  You will have to upload some images for icons and screenshots, but those can be changed later.  You won’t have to submit your app’s binary yet.  Why go through all of this trouble so early on?  Because it prevents any other developers from taking your app’s name! Read More »

I was trying to make an iPhone app that performed what I thought was a simple task:  seamlessly transitioning from the default image displayed when the app was opened (Default.png) into a fullscreen UIImageView that showed the exact same image.  Unfortunately I kept running into alignment problems where one image seemed to be displaced by 20 pixels (40 pixels on retina displays), and initially I couldn’t even tell whether it was the default image or ensuing UIImageView image that was offset.  I eventually figured out that it was the UIImageView image that was the problem, but determining why was a bit trickier. Read More »

I recently updated my Macbook Pro to Mountain Lion and then downloaded and installed Xcode 4.5.2.  I still had Xcode 3.2.6 installed as well, and my goal was to update my existing projects to the newer version.  Unfortunately when I tried to load my first project, Xcode just hung and sat there loading forever until I Force Quit it.  I soon realized that this same issue occurred even if I tried to create a new project, tried to open the Repositories tab in Organizer, or even if I hovered over Xcode’s File -> Source Control menu item.  My system log continuously showed the same error:

Nov 12 14:14:50 MacBook-Pro.local Xcode[3307]: [MT] DVTAssertions: Warning in /SourceCache/IDEFoundation/IDEFoundation-1880/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:130
Details: Invalid location for source tree. Initialization failed: {
IDESourceControlRepositoryLocationKey = "";
authenticated = NO;
name = iPhone;
online = YES;
path = "";
system = "scm.subversion";
}
Object:
Method: -initWithDictionary:sourceControlExtension:sourceControlManager:
Thread: {name = (null), num = 1}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. Read More »

I was having a heck of a time getting pretty permalinks to work with this site.  I figured it had to do with setting up WordPress in its own directory, which I had done using their own instructions (http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory). In the end it turned out I was right.  My .htaccess file that I copied into my root web directory looked good, but I needed to turn on Apache’s AllowOverride setting.  After some snooping around on my Ubuntu 12.04 machine, I finally discovered where to make this change.  In the /etc/apache2/sites-available directory, I had to update the file called default.  There was a configuration section in it for the /var/www directory and changing “AllowOverride None” to “AllowOverride All” did the trick!