Lion + Xcode 3.2.3 starting problem

白昼怎懂夜的黑 提交于 2019-12-10 18:16:41

问题


I just got a book for iPhone programming from the library which is based on Xcode 3.x so I want to start with that. Fortunately I updated from SnowLeopard to Lion with Xcode already installed so I didn't have problems to get it installed or running in the first place.

So I read through the HelloWorld-Example and as soon as I try to start interface builder I get the message:

This version of Interface Builder does not support documents of type "Interface Builder Cocoa Touch Document (XIB 3.x)" targeting "iPhone/iPod touch

I've Xcode 3.2.3 installed and have a clue how to change to something other than XIB 3.x to make this work.

Any suggestions?


回答1:


It looks like you may have to install Xcode 4.




回答2:


According to this post you can't install xcode 3.x on lion (at least not successfully). http://anatomicwax.tumblr.com/post/7906770311/installing-xcode-3-2-6-on-lion

IB won't work. The workaround is to install xcode 3.x before upgrading to lion and then go to lion. If you already upgraded you're out of luck.

The link does have a (hackish) workaround if you don't mind playing around with configuration files and modifying mounted images.




回答3:


Sorry if I'm being a bit harsh here, but I don't think that learning to master an outdated SDK just because you happen to have an outdated book at hand is a good idea.

Even if you'd like to stick with that book for the programming language part, you should still go ahead and use Xcode 4. It shouldn't be too hard and gets you prepared for the real world.




回答4:


I could not get Xcode 3.2.6 to install under Lion using the install package, but if you have it installed on another machine, all you have to do is to copy the Developer folder into the root folder of the startup drive. It takes longer because it has to copy approximately 11 GB, but it seems to work fine!



来源:https://stackoverflow.com/questions/7208807/lion-xcode-3-2-3-starting-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!