Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

App works in Simulator but not device

I am currently working on an update to an app I made that does calculations. Some people wanted to be able to save data, so I implemented an SQLite database, which was my first experience at doing database back-ends outside PHP+MySQL. After much searching and fixing things, I thought I finally got it successfully completed, but now I have a new runtime error and I am not too sure how to fix this one. It is like the error I first had with implementing SQLite in Simulator view, but this is limited to only actual devices. When I start up the app on my device for the first time, it crashes, but if opening it from a completely closed state, as opposed to the initial launch by XCode, or opening it after going back to the home screen, everything works fine and things are loaded from and saved to SQLITE. The problem in the last time I faced the situation was creating a database in the viewDidLoad method, but I have no idea what is causing this now. XCode displays:
Program received signal: "EXC_BAD_ACCESS"
it points. to self.window.rootViewController in the App delegate.

here is the code that makes up this app (the following is a git bundle): http://dl.dropbox.com/u/332246/rmd_ios.bdl
Sign In or Register to comment.