Monday, October 22, 2012

I've been mentioned on stack overflow!

Awesome. I stumbled across some link while I was browsing. I have been mentioned in many blogs, tweets, and and even sites like stackoverflow. Here are few of the many stackoverflow sites where I got mentioned.

http://stackoverflow.com/questions/11456312/xcode-suddenly-stopped-running-project-on-hardware-could-not-launch-xxx-app

http://stackoverflow.com/questions/12419347/uiinterfaceorientation-in-ios6-0

http://stackoverflow.com/questions/12650137/how-to-change-the-device-orientation-programmatically-in-ios-6

http://stackoverflow.com/questions/10003088/has-no-valid-com-apple-developer-ubiquity-kvstore-identifier-entitlement-ad-hoc

http://stackoverflow.com/questions/12519291/viewdidunload-and-shouldautorotatetointerfaceorientation-replacements-for-monoto

Yes I know those are some pretty trivial stuffs. But I'd like to share. and my page visits are nearing 25000. Yippie.

One of these days, I am going to build my own blogging engine. Using flask, bootstrap,  sqlalchemy and stuff.

Friday, October 19, 2012

Xcode: warning: no rule to process file '$(PROJECT_DIR)/path/to/file' of type for architecture

I came across this warning.
warning: no rule to process file '$(PROJECT_DIR)/path/to/file' of type for architecture 
Silly me! I did something stupid. Looks like I have put a .h file in the list of compiled sources. The list should only have .m files. I dont know if we can put a .c file in it, but there should not be any other filetype. I fond that some developers even dragged Javascript files into the compiled sources. If you are facing the same problem, you should probably remove any non-.m files from list of compiled sources. Here is how you do it, considering you are running on Xcode4 or above.


  • Open up your project target's "Build Phases" tab. (Click on the project, then the target's name, and then on the "Build Phases" tab).
  • In the the compiled sources section, make sure that you dont have any files other than .m files.


Happy Hacking.