Cách chỉnh sửa tệp Plist trên macOS

Plist files are an essential file that all macOS apps have. The contents of each file are different of course but you’d be hard-pressed to find an app that doesn’t come with one. A Plist file used to be really easy to edit on macOS and the stock TextEdit app was enough to do that job. That’s changed now since these files are rather important and Apple doesn’t want it to be too easy to change them, especially if the edit is being made by a malicious app. To that end, you can no longer open these apps with TextEdit, and you need a special app for it. There are quite a few apps that you can use to edit a Plist file on macOS but the best, free option that you have is Apple’s own Xcode app.

You can download the latest, stable version of Xcode from the Mac App Store. You do not need a developer account to download the app. Your Apple ID is going to do the job just fine. Install Xcode and launch it at least once to make sure it is set up properly and then you can use it to edit a Plist file.

Edit a Plist file

Navigate to the folder with the Plist file. These files are hidden inside an app package so what you need to do is navigate to where the app itself resides. This is most likely the Applications folder but apps can run from other folders as well. Right-click the app and select the ‘Show Package Contents’ option from the context menu.

In the Folder that opens, you will see a Contents folder. Open it and inside, there should be at least one Plist file called info.plist.

Cách chỉnh sửa tệp Plist trên macOS

Right-click it and select Open With>Xcode.

Cách chỉnh sửa tệp Plist trên macOS

The file will open in Xcode and you can edit the already existing rows of preferences. To add a new preference, right-click a row and select the ‘Add Row’ option or the ‘Value Type’ option. You can also remove a preference by cutting it, and add one by pasting it in. It’s up to you to know what edits you can make to a Plist file, and where to make them. The contents of these files are different for each app so there is no definitive guide on what you can and cannot add. Save the changes when you’re done.

Cách chỉnh sửa tệp Plist trên macOS

A Plist file is not something you should edit if you’re not sure you know what you’re doing. An incorrect entry can damage the app. You should also avoid editing Plist files of stock apps.

Leave a Comment

Cách chỉnh sửa tệp Plist trên macOS

Cách chỉnh sửa tệp Plist trên macOS

Tệp danh sách là một tệp cần thiết mà tất cả các ứng dụng macOS đều có. Tất nhiên, nội dung của mỗi tệp là khác nhau nhưng bạn sẽ khó tìm thấy một ứng dụng

Cách đổi tên đĩa trên macOS

Cách đổi tên đĩa trên macOS

Đĩa trên macOS thường không có phân vùng giống như cách đĩa khi cài đặt Windows 10. Bạn có thể tạo khối lượng từ đĩa và đó là

Cách bật Sidecar trên máy Mac không được hỗ trợ

Cách bật Sidecar trên máy Mac không được hỗ trợ

Cách bật Sidecar trên máy Mac không được hỗ trợ

Cách khắc phục tình trạng sạc bị giữ trên Macbook

Cách khắc phục tình trạng sạc bị giữ trên Macbook

MacBook có thời lượng pin tuyệt vời nhưng giống như bất kỳ loại pin nào, dung lượng sạc của nó sẽ giảm dần theo thời gian cho đến khi nó không thể sạc được nữa. Cuộc sống của một

Cách tô sáng con trỏ chuột trên macOS

Cách tô sáng con trỏ chuột trên macOS

Con trỏ trên macOS có thể được phóng to và nhìn chung dễ nhìn hơn vì nó có đường viền chắc chắn. Trừ khi con trỏ của bạn rất nhỏ và bạn có

Cách lưu hình ảnh khay nhớ tạm trên macOS

Cách lưu hình ảnh khay nhớ tạm trên macOS

Khay nhớ tạm của macOS có khả năng giống như khay nhớ tạm trên bất kỳ hệ điều hành nào khác. Nó có thể sao chép mọi thứ; văn bản, hình ảnh và tệp.

Cách chạy tập lệnh Shell hoặc .sh trên macOS

Cách chạy tập lệnh Shell hoặc .sh trên macOS

Các tập lệnh Shell thường được viết và chạy trên hệ thống Linux nhưng chúng gần như ở nhà trên hệ thống Mac cũng như trên hệ thống Linux. Bạn có thể viết một

Cách xem mức sử dụng CPU, RAM, Đĩa và Mạng trong thanh menu trên macOS

Cách xem mức sử dụng CPU, RAM, Đĩa và Mạng trong thanh menu trên macOS

Hệ thống máy tính để bàn có một số chỉ số quan trọng mà bạn nên theo dõi. Đây thường là CPU và mức sử dụng RAM mặc dù sử dụng mạng và đĩa

Cách tạo ổ đĩa APFS với hạn ngạch lưu trữ trên macOS

Cách tạo ổ đĩa APFS với hạn ngạch lưu trữ trên macOS

Trên macOS, ổ cứng hoặc SSD, bất kỳ loại nào bạn có thường là một đĩa duy nhất. Bạn không phân vùng đĩa trên máy Mac như bạn làm trên PC nhưng

Cách tùy chỉnh Trung tâm điều khiển trên macOS Big Sur

Cách tùy chỉnh Trung tâm điều khiển trên macOS Big Sur

macOS Big Sur có Trung tâm điều khiển bắt chước tính năng cùng tên trên iOS. Đây là một bảng các chuyển đổi nhanh cho phép bạn, trong số những thứ khác,