You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scriptText = "# Developer ID Installer cert name sign_cert="Developer ID Installer: Armin Briegel (JME5BW3F3R)" # profile name used with `notarytool --store-credentials` credential_profile="notary-scriptingosx" # data from build settings pkg_name="$PRODUCT_NAME" identifier="$PRODUCT_BUNDLE_IDENTIFIER" version="$MARKETING_VERSION" PKG_PATH="$SRCROOT/$pkg_name-$version.pkg" NOTARY_LOG="$SRCROOT/notary.log" echo "Packaging and Notarizing '$pkg_name', version: $version" > "$NOTARY_LOG" date +"%F %T" >> "$NOTARY_LOG" echo >> "$NOTARY_LOG" # usually use `xcodebuild -exportArchive` to get # the product out of the archive. However, this does not work # with a command line tool, so we are going direct PKG_ROOT="$ARCHIVE_PATH/Products/" # create the pkg pkgbuild --root "$PKG_ROOT" \ --identifier "$identifier" \ --version "$version" \ --install-location "/" \ --sign "$sign_cert" \ "$PKG_PATH" >> "$NOTARY_LOG" 2>&1 echo >> "$NOTARY_LOG" # notarize xcrun notarytool submit "$PKG_PATH" \ --keychain-profile "$credential_profile" \ --wait >> "$NOTARY_LOG" 2>&1 echo >> "$NOTARY_LOG" # staple xcrun stapler staple "$PKG_PATH" >> "$NOTARY_LOG" 2>&1 # reveal in Finder open -R "$PKG_PATH" ">
With the various APFS features the value for free disk space returned from tools such as `du` or `df` will not be accurate. This tool uses system functions to get various measures of available disk space.
20
+
21
+
The 'Important' value matches the free disk space value shown in Finder.
22
+
23
+
You can get the details from Apple's documentation:
0 commit comments