开发者

Where is "Developer Information" shown by Mac OS X System Profiler coming from?

开发者 https://www.devze.com 2023-04-03 12:13 出处:网络
I was trying to see if I can run latest Xcode 4.2 on a machine running 开发者_开发知识库Snow Leopard 10.6.0 by just copying the /Developer folder from my macbook running 10.6.8. So I renamed an existi

I was trying to see if I can run latest Xcode 4.2 on a machine running 开发者_开发知识库Snow Leopard 10.6.0 by just copying the /Developer folder from my macbook running 10.6.8. So I renamed an existing /Developer folder with Xcode 3.2 to /Developer.old and copied the /Developer with new Xcode from the other box. Changing "Minimum system version" to 10.6.0 in the Info.plist in Xcode's package sort of did the trick, I can run Xcode, but I have a problem with running iPhone apps in iPhone Simulator. It gets stuck on "Attaching to MyApp".

So, I guess something is missing in my "installation". I noticed System Profiler is showing the old version of Xcode in Developer Information, better yet, it points to /Developer.old. How could I update this?


XCode and iPhone Simulator is extremely picky about the OS version. If it says it needs 10.6.8, it needs some functionality present in 10.6.8 but not in 10.6.0. So, don't try to fight with the rule and just use 10.6.8.

That said, you should note that XCode installation is not just in /Developer. You also have commandline tools which is installed in various places, and some support data in /Library/Developer. You can inspect what is installed where by having a look at the XCode installer package. I think some of the command line tools are responsible for the info in the System Profiler.

But, let me say again: XCode and iPhone Simulator is extremely picky about the OS version. If it says it needs 10.6.8, it needs some functionality present in 10.6.8 but not in 10.6.0. So, don't try to fight with the rule and just use 10.6.8.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号