Every now and again I get "Unknown architecture" when trying to compile. I found this post that has the solution in the bottom: *
From the "Project" menu, choose Edit Active Target "
I don't know quite why there sometimes are more paths there that I don't want, but it helps anyways.". Select the "Build" tab. In the search box, look for FRAMEWORK_SEARCH_PATH. Highlight the row with a search path in it. Press to completely wipe out the path.
Debugging Autorelease is a great wiki entry at CocoaDev. EXC_BAD_ACCESS, meaning accessing an object you've already released (most likely) or have not yet instantiated (it happens) isn't that fun to debug. Luckily, the NSZombie environment variable works when developing for iPhone as well, and I could find the error that had cost me most of my day. Yay!
Other good resources for debugging are Debugging Techniques and Mac OS X Debugging Magic
The mac world is high on expectations because of what is apparently a shortage of iPhones. New version coming up soon? Yes, probably. People hope for a 3G version. I hope for one too. I expect it to be announced in June and available end August. People think of a 32gb version. Sounds logical. But didn't people notice Intel's announcement of their Atom processor? Here's ZDNet's take on it. I would expect this to mean that an iPhone based on this architecture would be launched, perhaps silently even. Just a bit more horse power, very fitting for iPhone OS 2.0. Perhaps with a 32gb option. But still EDGE, no 3G. Then a 32gb version with 3G could be announced in June and become widely available in august.
It's all over the news: due to budget problems, NASA puts Spirit into hibernation and cuts back on the activity for Opportunity. Where do I sign the protest list?!
Being fairly new to Cocoa I enjoyed reading O'Reilly's MacDevCenter's article on exception handling with Cocoa.