I tried Xcode development with 4 GB and I can say that it is possible. However, after I upgraded to 8 GB, I noticed that things like launching iPhone Simulator performed a lot better. In fact, I would be a little concerned about the 11-inch screen.
With my 13-inch screen it's hard to disappoint not to get as much visual area to display my code. I find myself changing the top and right sidebars in Xcode 4 all the time.
So, in general, my advice would be against it without an external monitor. I would try with an external monitor - an SSD could compensate for 4 GB of RAM and do it enough. Hope this helps.
Christian correa
source share