The minimum requirement for xcode 4 is 10.6.6. If you are using 10.6.3, you do not want to upgrade it. You can install the SDK by modifying the version number.

Source: Internet
Author: User

The minimum requirement for xcode 4 is 10.6.6. If you are using 10.6.3, you do not want to upgrade it. You can install the SDK by modifying the version number.

1. Open the console;

2. Use the root user;

Command: Sudo-S

Enter the password.

3. Edit the/system/library/coreservices/systemversion. plist file and back up one before editing:

CP/system/library/coreservices/systemversion. plist/system/library/coreservices/systemversion. plist. Bak

VI/system/library/coreservices/systemversion. plist

XML Code
<? XML version = "1.0" encoding = "UTF-8"?>
<! Doctype plist public "-// Apple // DTD plist 1.0 // en" http://www.apple.com/DTDs/ 
PropertyList-1.0.dtd>
<Plist version = "1.0">
<Dict>
       <Key> productbuildversion </key>
       <String> 9f33 </string>
       <Key> productcopyright </key>
       <String> 1983-2008 Apple Inc. </string>
       <Key> productname </key>
       <String> Mac OS X </string>
       <Key> productuservisibleversioN </key>
       <String> 10.6.3 </string>
       <Key> productversion </key>
       <String> 10.6.3 </string>
</Dict>
</Plist>

Replace the version number 10.6.3 in the file with 10.6.7.

Remember to save after editing.

Note for beginners: after pressing ESC, enter W! Force save. Note the colon. Enter
: Q exits.

4. Start the xcode_4 installation program and install it normally.

After preliminary testing, compilation can be normal.

 

In the previous article on the Internet, the version number is too large.

I personally think that this method can be used in 10.6. You can test it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.