EDIT: A discovery has been made! It’s possibly as stupid as the problem. It only errors when you build and run through xcode! How stupid is this…
Ok, so Stefan K and I have been trying to find this odd bug but to no avail. my app is an itunes controller, and if you open it before iTunes is opens, iTunes goes to open like it normally would, except it immediately closes and then tries to reopen, then closes again, and keeps doing that for a while.
I have tried so many things, trying to hunt this bug down, removing my preferences, removing certain chunks of code, removing the menulet and nothing would work at all. The strange thing is, if iTunes is already open when you open this app, everything works perfectly.
I am posting my entire project here, because a. I’m curious to see if everyone else gets the error, and b. maybe someone will see something thats wrong with it.