View and modify the Mac version number

Source: Internet
Author: User
1. view the Mac version:
First open the terminal application-> utility-> Terminal
Run the following command: More/system/library/coreservices/systemversion. plist
<? 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.7</String>
<Key> productversion </key>
<String> 10.6.7</String>
</Dict>
</Plist>
10.6.7 is the version number.

2. Modify the version number
During the installation of some software (xcode), the system will prompt that the version is low and must be upgraded to a later version. Many people do not want to upgrade the software but need to install it, in this case, you only need to change the version number to the version number required for software installation.
Because systemversion. plist is a system read-only file, the current user cannot change this file to a writable type and needs to switch to the administrator user.
Enter the terminal (as shown above), enter the Sudo-s and password, change the/system/library/coreservices/systemversion. plist file to writable, and then change the version number to the required minimum version.

A. Choose Terminal application> utility> terminal.
B. Switch to the Administrator Sudo-s and press enter to enter the password.
C. Modify systemversion. plist to writable.
Chmod + x/system/library/coreservices/systemversion. plist
D. Use VI to edit files
VI/system/library/coreservices/systemversion. plist
E. Press "a" to edit and modify the version number.
F. After saving and exiting the modification, Press ESC and enter WQ (if you do not know, search for the Linux VI command ).

The software can be successfully installed.

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.