New answers tagged

1

Use spctl, not codesign The codesign tool does not work with package files, .pkg. Use the spctl tool instead: /usr/sbin/spctl --assess --ignore-cache --verbose --type install <pkg-path> Alternatively, Installer.app You can also check the package certificate using Installer.app: Open the package in macOS's Installer.app; Click the padlock in the ...


0

To sign macOS packages, you will require access to an Apple Developer account. Signing certificates can be generated via the Apple Developer account. Two basic requirements should be met to deploy macOS PKGs: The .pkg file is built as a product archive. To distribute as an enterprise app, the .pkg file should be signed with a Developer ID obtained from an ...


1

This sucks when it happens I know. I've had this happen when creating a USB installer from a Mac OS DMG that was downloaded with Safari. Before we start you need to MAKE SURE you are creating an installer USB from a Mac OS Sierra installer that is around 5.2GB. If you are trying to do it from one downloaded from the App store that is smaller than that then ...


2

In my opinion the error message is misleading. Probably it's the same broken certification chain (as in this question & answer: El Capitan bootable installer on Mac Mini - “A required download is missing”) resulting in a slightly different message. So download Sierra, open the dmg and the included pkg and install the Sierra installer.app to /...


1

Variation of @d3Xt3r answer: tar xOvf PackageName.pkg output.pkg/PackageInfo 2>/dev/null | grep '<pkg-info' \ | sed "s#.* version=\"\([0-9\.]*\)\".*#\1#" Advantage is that this is only pipe processing. Note my package had different structure, there is an extra directory output.pkg which contains file PackageInfo


-1

I had an issue installing to /usr/bin, even with sudo. I had to ensure sudo was used on all commands that needed it: This works: sudo curl -L https://git.io/rustlings | sudo bash This doesn't: sudo curl -L https://git.io/rustlings | bash


2

I wouldn’t sudo anything brew related for installs in /usr/local and use one Unix user only to manage homebrew. The only exception is some initial setup or remediation steps when you are explicitly instructed by the tool to use sudo What’s happening is some permissions (using sudo likely) went bad in /usr/local so you might need to revert them. brew ...


1

Always install the OS and test your SSD externally before you take out a working HDD / SSD. Can Recovery Mode install OS X onto a blank SSD? Then you know you have a working system before you install it internally. It’s really quite smooth and you can hold option to boot the old or the new back and forth while you test things out. If you make a bad choice ...


4

You should look at the ifixit HDD replacement guide for this model. This will show you exactly the steps you need to take, including 'unplugging' the logic board from the battery. You may want to buy a USB to SATA connector cable. This will let you connect the new SSD to the Mac, so that you can copy the contents from the hard drive to the SSD. You need to ...


1

From a battery controller logic standpoint, I am fairly confident that is not possible, in the sense that the result will not be a stable configuration. The reason is simply that there is no mechanism to handle such a scenario on a logic level. My understanding is that a MacBook battery has some simple logic and communicates the charge level and other ...


1

For Xcode 11.2.1, I had to use Safari to download it from the Apple Developer website. Chrome would only download the first 1.7GB, and the update didn't appear in the App Store. Apple Developer downloads: https://developer.apple.com/download/more/ Direct link to 11.2.1 GM: https://download.developer.apple.com/Developer_Tools/Xcode_11.2.1_GM_Seed/Xcode_11.2....


Top 50 recent answers are included