Uh-oh

October 7, 2009

Well I managed to do something bad.  I’m not sure what it was, all I did was add a resource directory and then added 3 image files to it and bam!  My app won’t run at all.  I get no output in the console for tracing and just a black screen.  I tried deleting the files and removing the directory but that did not help.  I’m going to have to see if I can repro this on a consistent basis.  Hopefully I can’t…

This is why we have source control which I did not have installed at the time.  I do now!  I picked up p4 since it is free for two users which is one more than I need currently.  Got it running and checked in my files so this sort of thing should not happen again.  I didn’t lose any source, just the work in Interface Builder which was considerable.  I know what I did there though and will be able to recreate the app quickly enough (tonite is the goal).  More on the progress of this later.

Update: It looks like MonoDevelop or the iPhone simulator doesn’t like me naming the folder I want to put my assets in as ‘Resources’.  If I name it that, I get a black screen every time.  I changed the name to ‘images’ and reset the device settings and all is well.  Yay!  I will post the latest source this weekend.

Advertisement

One Response to “Uh-oh”

  1. GLV Says:

    Smart. At least you figured it out though.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.