PatchViewer Support

You may find that your question is answered below, but if not, feel free to contact us.

Frequently asked questions

  1. opendiff is slow to launch and exit

    opendiff sometimes takes quite a while (up to seconds) to launch FileMerge.

    It also can take quite some time to exit after having done its job. This seems to be a known issue.

    Suggestion

    You can use FileMerge directly, instead of opendiff. Refer to the in-app help (in the Help menu) and look in the 'Configuring a graphical file comparison tool' section.

    Other third-party file comparison tools are more responsive and can be easily configured in PatchViewer's Preferences window.

  2. Third-party diff tools won't run (using PatchViewer from the Mac App Store)

    You can ignore this section if you purchased PatchViewer outside of the Mac App Store. If you purchased PatchViewer from the Mac App Store, then there are sandboxing limitations you need to be aware of.

    Applications purchased from the Mac App Store are run by OS X inside a 'sandbox' which restricts the operations an application can perform to order to improve security. These restrictions include limiting the processes (such as file comparison tools) that an application may launch.

    PatchViewer may launch two kinds of third-party tools/scripts subject to either of these sandboxing constraints:

    • Any tool/script within /Applications/ or its subfolders may be launched. (Any child processes spawned by these tools are are also subject to the same constraint, so there is no convenient back door access to /usr/bin/ for example!)
       
    • Executable scripts/tools that you put it in ~/Library/Application Scripts/au.com.appledeveloper.PatchViewer.appstore/ may be launched. (These scripts may spawn any other tools, including tools in /usr/bin/.)

    The second option is the more powerful and typically you would use it to create a wrapper script to launch another tool that would otherwise be inaccessible from the sandbox. Here is an example to launch Kaleidoscope's diff tool:

    #!/bin/sh
    # Launch Kaleidoscope
    /usr/bin/ksdiff "$1" "$2"
     
    Unfortunately PatchViewer itself can't automatically create this script for you (again due to sandboxing limitations).

Note: this site is not endorsed by or related to Apple Inc. All trademarks are the property of their respective owners.