看啥推荐读物
专栏名称: AT阿宝哥
15年IT互联网从业经验,专注产品方案,人才...
今天看啥  ›  专栏  ›  AT阿宝哥

《Axure官方文档译读》之0102:Installing on macOS(在macOS上安装)

AT阿宝哥  · 简书  ·  · 2020-01-16 11:44
Axure RP

Installing on macOS

在macOS上安装Axure RP

This guide will walk you through installing Axure RP on macOS systems. If you run into any trouble attempting to install or launch the application, please see the troubleshooting guide below or email us at support@axure.com .

这个向导会在macOS系统上安装Axure RP。如果你遇到任何试图安装或启动应用程序的麻烦,请参阅下面的故障排除指南或在 support@axure.com 上给我们发邮件。

Note
提示

If you need to install Axure RP on a Windows computer, please refer to our Windows installation guide.

如果您需要在Windows电脑上安装Axure RP,请参阅我们的Windows安装指南。

1、System Requirements

  • macOS 10.9+
    苹果公司macOS 10.9及更高版本

  • 2 GB memory (RAM) minimum, 4 GB recommended
    最低2GB运行内存,建议4GB

  • Mac computer with 64-bit Intel processor
    配备64位英特尔处理器的Mac电脑

  • 5 GB disk space
    5GB硬盘可用空间

  • For prototype HTML: Safari, Firefox, or Chrome
    原型HTML支持:Safari, Firefox, or Chrome

  • For Word specifications: Microsoft Office Word 2004 (with compatibility pack), 2008, 2011, or 2016, or any other application capable of opening .docx files
    Word说明书支持:Microsoft Office Word 2004(带兼容包)、2008年、2011年或2016年,或任何其他能够打开 .docx 文件的应用程序。

2、General Installation

常规安装

Most customers will be able to install Axure RP with the general installer, which is available for download at www.axure.com/download . After downloading the installer, launch it and drag the Axure RP 9 icon into your Applications folder.

大多数客户将能够安装Axure RP与一般安装程序,这是可在 www.axure.com/download 下载。下载安装程序后,启动它并将Axure RP 9图标拖到您的应用程序文件夹中。

3、Silent Installation

静默安装

If you need to deploy Axure RP to one or more workstations silently, download the installer and follow the steps below.
如果需要无声地将Axure RP部署到一个或多个工作站,请下载安装程序并执行以下步骤。

  1. Install Axure RP on your workstation and launch it so that macOS can verify it.
    在工作站上安装Axure RP并启动它,以便macOS可以验证它。

  2. Create a new plain text file and name it lic.key with no other extensions.
    创建一个新的纯文本文件,并命名为 lic.key ,且没有其他扩展键。

  3. On a single line in the file, enter your licensee name and license key separated by a tilde character ( ~ ). For example:
    在文件的一行中,输入您的被许可方名称和由波浪字符(' ~ ')分隔的许可密钥。例如:

    Jane Smith~AjQcO8w5PE+o1fqQ1234aUHoILBDnRRO/abcdefg2eFCa1KSMiw2Bmo0UOXb0TZ

  4. In a Finder window, open your Applications folder and locate the Axure RP 9 item. Right-click it and choose Show Package Contents from the context menu.
    Finder 窗口中,打开 Applications 文件夹,找到 Axure RP 9 项。右键单击它,然后从上下文菜单中选择 Show Package Contents

  5. Navigate to the sub folder /Contents/Resources and place the lic.key file from Step 2 into this folder.
    导航到子文件夹“/Contents/Resources”并放置lic。将步骤2中的密钥文件放入此文件夹。

After completing these steps, you’ll be able to distribute the Axure RP 9 .app by any means you’d like. The lic.key file will ensure that the application installs pre-activated.
完成这些步骤后,您将能够按照你期望的方式分发Axure RP 9 .app lic.key 密钥文件将确保应用程序安装预先激活。

4、Troubleshooting Installation and Launch
安装和启动故障排除

Installing Axure RP on your Mac is almost always a smooth process, and problems are rare. Problems during installation are usually related to system requirements or version/OS compatibility.

在Mac上安装Axure RP几乎总是一个平稳的过程,很少出现问题。安装过程中的问题通常与系统需求或版本/操作系统兼容性有关。

Problems launching RP on macOS are slightly more common, though still highly unusual. When a crash is seen immediately upon launch or when trying to create a new project, the user account’s permissions settings are usually at issue. (A telltale sign of a crash immediately after launch is when the icon bounces in the Dock a few times but nothing else appears to happen.)

在macOS上启动RP的问题更为常见,但仍然非常少见。当启动时立即看到崩溃或尝试创建新项目时,用户帐户的权限设置通常会出现问题。(启动后立即崩溃的一个明显迹象是,图标在Dock中弹了几下,但似乎什么也没有发生。)

The troubleshooting ideas in this guide are in order of complexity and risk. We strongly recommend trying these items in order instead of skipping around. If an item doesn’t seem relevant to your situation, move on to the next item.

本指南中的故障排除思想按复杂性和风险排序。我们强烈建议按顺序尝试这些项目,而不是跳过。如果一件事与你的情况无关,那就继续下一件事。

If you’d rather work directly with an Axure employee to find a solution, please feel free to email us at support@axure.com .
如果您更愿意直接与Axure的员工一起寻找解决方案,请随时发送电子邮件至 support@axure.com

Note
提示

If you’re having trouble installing or running Axure RP on a on a Windows computer, please see the Windows troubleshooting guide.
如果您在Windows电脑上安装或运行Axure RP时遇到困难,请参阅Windows故障排除指南。

4.1、Check Whether Axure RP Is Already Running

检查Axure RP是否已经运行

In macOS, sometimes the only clues that an application is running are that the menu bar at the very top of the screen shows the application’s name, and there’s a little dot adjacent to the application’s icon in the Dock.

在macOS中,有时应用程序运行的唯一线索是屏幕最顶部的菜单栏显示应用程序的名称,并且在Dock中应用程序图标旁边有一个小点。

To check whether Axure RP is running, click its icon in the Dock (to give the app focus) and then try the File → New menu command to open a new project for editing.

查看Axure RP是否运行,点击Dock中的图标(给予app焦点),然后尝试 File→New menu命令,打开一个新项目进行编辑。

Axure RP typically has a welcome screen that pops up when you launch the application without opening an RP file. If the application is launching without this window, it may be turned off. To see it each time you start Axure RP, go to Help → Welcome Screen… to display the dialog, and un-check "Don’t show this at startup" at the bottom-left.

Axure RP通常会在启动应用程序时弹出一个欢迎屏幕,而无需打开RP文件。如果应用程序在没有此窗口的情况下启动,它可能会被关闭。每次启动Axure RP时,要查看它,请转到**帮助→欢迎屏幕……

4.2、Latest Build After an OS Update

操作系统更新后的最新版本

It’s always good to be on the latest build of Axure RP, but it’s particularly important after an OS update. Major updates of macOS (e.g. from 10.10 to 10.11) are notorious for breaking third-party applications. You can always compare your current build number, found in the Help → About Axure RP menu, against the current build, available at www.axure.com/update . You can also go to Help → Check for Updates in Axure RP. (Click "Check for updates when Axure RP starts" in the dialog to get notifications when there’s a new update.)

在Axure RP的最新版本上运行总是好的,但是在操作系统更新之后,这一点尤为重要。macOS的主要更新(例如从10.10到10.11)因破坏第三方应用而臭名昭著。您可以在 Help→About Axure RP 菜单中找到当前的构建版本号,您可以在 www.axure.com/update 中找到当前的构建版本号。你也可以去 帮助→检查Axure RP中的更新 。(点击对话框中的“检查Axure RP启动时的更新”,当有新的更新时得到通知。)

Note
提示
We recommend against installing a developer preview or beta version of macOS on your Axure RP production computer. We can’t guarantee we’ll be able to provide a build of RP that works on a macOS beta. We’ll be working on updating Axure RP’s compatibility during the developer preview and beta periods.

我们建议不要在您的Axure RP生产计算机上安装开发人员预览版或测试版macOS。我们不能保证我们将能够提供一个RP的建设,工作在macOS测试版。我们将在开发人员预览和测试期间更新Axure RP的兼容性。

4.3、Folder Permissions

文件夹权限

If you’ve recently restored your system using Time Machine, had repair work done on your computer, or made any other major system change, your user account’s folder permissions settings may be misconfigured. Below are some steps for self-diagnosing a permissions problem on your Mac. Remember that you can also reach us at support@axure.com and we’ll be glad to help.

如果你最近使用时光机恢复了你的系统,在你的电脑上做了修复工作,或者做了任何其他主要的系统更改,你的用户帐户的文件夹权限设置可能是错误的。下面是一些自我诊断Mac权限问题的步骤。记住,你也可以通过 support@axure.com 联系我们,我们很乐意提供帮助。

4.3.1、Check Your "Get Info" Dialog

检查您的 "Get Info" 对话框

Your user account’s "Info" dialog can tell you a couple of important things. To get to this dialog, follow these steps:
你的用户帐户的“信息”对话框可以告诉你一些重要的事情。要进入这个对话框,请遵循以下步骤:

  1. Open up a Finder window
    打开Finder窗口

  2. In the left-hand "Favorites" column, locate your Home folder (house icon)
    在左边的“收藏夹”栏,找到你的主文件夹(房子图标)

  3. If you don’t see your Home folder in the Favorites list, use the Go → Go to Folder menu command to go to the folder "/Users"
    如果你没有在收藏夹列表中看到你的主文件夹,使用 Go→转到文件夹 菜单命令转到文件夹“/Users”

  4. Right-click your Home folder and choose the "Get Info" context menu command Once you’ve got the Info dialog open, look for the following things:
    右键单击你的主文件夹,并选择“获取信息”上下文菜单命令一旦你有信息对话框打开,寻找以下事情:

  5. In the "General" section, make sure the "Locked" checkbox is cleared.
    在“常规”部分,确保“锁定”复选框被清除。

  6. Your user account needs "Read & Write" privileges for this folder. You can verify this in the "Sharing & Permissions" section at the bottom of the dialog.
    您的用户帐户需要此文件夹的“读和写”权限。您可以在对话框底部的“共享和权限”一节中验证这一点。

The line that says "(Me)" needs to be showing the words "Read & Write". If it shows some other level, click directly on the words showing the level (e.g. "Read only") and choose "Read & Write" from the resulting list.

写着“(我)”的那一行需要显示“读和写”。如果显示其他级别,直接点击显示该级别的单词(例如:从结果列表中选择“Read & Write”。

If you don’t see a line that says "(Me)", you’ll need to make one. Click the small lock icon at the lower right of the dialog to allow changes, click the "plus" icon to add a new entry, click on your user account name in the resulting dialog, and then click the "Select" button to add your user account to the "Sharing & Permissions" list. (Your account will need to be an admin to do this. If it’s not, please contact your IT team for assistance with this step.)

如果你没有看到写着“(我)”的一行,你需要做一个。点击右下角的小锁图标对话框允许修改,点击“+”图标添加一个新条目,点击你的用户帐户名在随后出现的对话框中,然后点击“选择”按钮将用户帐户添加到“共享与权限”列表。(你的帐户将需要一个管理员这样做。如果不是,请联系您的it团队以获得这一步的帮助。)

4.3.2、Permissions Diagnostic

权限诊断

Using your Mac’s Terminal, you can run a series of commands to collect permissions data for every folder Axure RP might need to access when it launches. Pulling this info together in one place might help you to diagnose a permissions conflict—if you know what to look for.

使用Mac的终端,你可以运行一系列命令,收集Axure RP启动时可能需要访问的每个文件夹的权限数据。如果您知道要查找什么,将这些信息放在一起可能有助于诊断权限冲突。

These commands will collect information and put it into a text file on your desktop, but otherwise they won’t make any permanent changes to your system.

这些命令将收集信息并将其放入桌面的文本文件中,但除此之外,它们不会对系统进行任何永久性的更改。

To try this method, open Terminal ( Applications → Utilities → Terminal ), paste in the following commands, and hit the return key.

要尝试这个方法,打开Terminal( 应用程序→工具→终端 ),粘贴以下命令,然后点击 return 键。

OUTPUT_FILE=~/Desktop/AxureLog.txt
rm $OUTPUT_FILE

function run_command {
 echo -e "\n\n===== ===== ===== $2 ===== ===== =====" >> $OUTPUT_FILE 2>&1
 eval "$1" >> $OUTPUT_FILE 2>&1
}

function test_folder {
 echo -e "\n\n===== ===== ===== $1 ($2) ===== ===== =====" >> $OUTPUT_FILE 2>&1
 eval cd "$1" >> $OUTPUT_FILE 2>&1
 eval pwd >> $OUTPUT_FILE 2>&1
 eval ls -laeO@$3 "$1" >> $OUTPUT_FILE 2>&1
}

run_command id "id"
run_command date "date"
run_command users "users"
run_command who "who"

test_folder /Users "Users Directory"
test_folder ~ "Home Directory"
test_folder ~/.local ".local"
test_folder ~/.local/share/Axure ".local > share > Axure"
test_folder ~/Library "Library"
test_folder ~/Library/Caches "Caches"
test_folder ~/Documents "Documents"
test_folder ~/.config "isolatedstorage"
test_folder ~/Library/
test_folder "~/Library/Application\ Support/Axure/" "Axure"
test_folder "~/Library/Application\ Support/Axure/Axure-9-0/" "9-0"
test_folder "~/Library/Application\ Support/Axure/Axure-9-0/working" "working" R

run_command "mkdir -v testdir" "Write Test"
run_command "rm -dv testdir" "Remove Test"
run_command "defaults read /Applications/Axure\ RP\ 9.app/Contents/Info.plist CFBundleVersion" "CFBundleVersion"
run_command "uname -a" "Architecture version"
run_command sw_vers "OS Version"
run_command "/Applications/Axure\ RP\ 9.app/Contents/MacOS/Axure\ RP\ 9" "Running…"

echo -e "\n\n===== ===== ===== COMPLETE ===== ===== =====" >> $OUTPUT_FILE 2>&1
echo -e "\n\n===== ===== ===== COMPLETE ===== ===== ====="

Once you hit return , a file called "AxureLog.txt" will appear on the desktop. Open that file in your favorite text editor and let’s get started investigating it.

一旦你点击 返回 ,一个名为AxureLog的文件就会出现。“txt”将出现在桌面上。在您最喜欢的文本编辑器中打开该文件,让我们开始研究它。

  1. Folder Owner
    文件夹所有者

The file contains information about a handful of folders that Axure RP writes to during normal operation. Each group of text in the main portion of the document shows a folder’s name on the first line and then a list of that folder’s contents.

该文件包含有关Axure RP在正常操作期间写入的几个文件夹的信息。文档主要部分的每组文本都在第一行显示一个文件夹的名称,然后是该文件夹内容的列表。

The first column of each item is a string of notation describing that item’s permissions. You can probably ignore this part, but if you’d like to understand exactly what you’re seeing here you can do a web search for "Unix file permissions string" or refer to the following resource at LinuxCommand.org:

每个项的第一列是描述该项权限的符号字符串。您可能可以忽略这一部分,但如果您想准确地理解您在这里看到的内容,您可以在web上搜索“Unix文件权限字符串”,或者参考LinuxCommand.org上的以下资源:

http://linuxcommand.org/lc3_lts0090.php

The third and fourth columns show the item’s owner account and owner group. (The second column isn’t important.) In general, you want the folders and files in this list to be owned by your own user account and by the group called "staff". (One exception is the "users" folder, which will be owned by the "root" account.)

第三和第四列显示项目的所有者帐户和所有者组。(第二列不重要。)通常,您希望此列表中的文件夹和文件由您自己的用户帐户和名为“staff”的组拥有。(一个例外是“用户”文件夹,它将属于“根”帐户。)

So if my computer’s user name were "AudreyAxure", I’d want to see something like this on the third line of each group (where the permissions for the folder itself are shown):

因此,如果我的计算机的用户名是“AudreyAxure”,我希望在每个组的第三行看到类似这样的东西(其中显示了文件夹本身的权限):

drwxr-xr-x 3 AudreyAxure staff - 102 Jan 1 2016 .

If you’re seeing a lot of "root" user listed instead of your own user account name, something might be wrong with your permissions and you should consider showing the diagnostic file to your IT team.

如果您看到许多列出的“root”用户而不是您自己的用户帐户名,那么您的权限可能出了问题,您应该考虑将诊断文件显示给IT团队。

  1. "Access Denied" Errors
    访问被拒绝错误

At the very bottom of the file, you can see where the diagnostic tried to launch the Axure RP executable. (Just after the line reading "Running…".) If the launch went well there won’t be much listed, but if it ran into trouble you’ll see more lines. If you get lucky, you’ll find something like this:

在文件的最下面,您可以看到诊断程序试图启动Axure RP可执行文件的位置。(就在“跑步……”这一行之后。)如果发布顺利,将不会有太多的上市,但如果它遇到麻烦,你会看到更多的线。如果你幸运的话,你会发现这样的内容:

Access to the path "/Users/AudreyAxure/.local/share/Axure" is denied.

An "access to the path is denied" error is a good clue because it’s usually going to point out the folder or folders where your permissions need to be repaired. The actual repairing step is best left to your IT professional.

“访问路径被拒绝”错误是一个很好的提示,因为它通常会指出需要修复权限的一个或多个文件夹。实际的修复步骤最好留给您的IT专业人员。




原文地址:访问原文地址
快照地址: 访问文章快照