Mac 安装Axure 8 闪退 Axure软件报错Report Error该怎么处理?

系统版本:macOS10.11.6
Axure版本:8.0.x
问题描述

这几天需要出几个页面原型,所以,下载Axure 8 安装,但是打开的时候闪退。也不报任何错误。

网上的方法一个也没解决, 后来没办法,尝试 sudo su 运行Axure 成功了。于是就分析原因。

通过这个网站 https://www.axure.com/support/reference/installing-on-mac-osx

分析可能是和目录的权限有关:

这些目录分析下

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 "~/Documents/Axure\ User\ Data" "Axure User Data"

test_folder "~/Documents/Axure\ User\ Data/Axure-8-0" "8-0"

test_folder "~/Documents/Axure\ User\ Data/Axure-8-0/working" "working" R

 

后来在Documents 中发现有日志,Axure User Data/Axure-8-0/logs

 

========== Beg Inner Exception: 1 ==========
Message: Access to the path "/Users/****/.config/.isolated-storage/d.none.5426E2CE58640E4EE63B" is denied.
Type: System.UnauthorizedAccessException

哇,还真是权限问题,修改 .isolated-storage/ 权限,即可运行

 

总结:

如果mac 上运行就报错,report error,直接在Axure User Data/Axure-8-0/logs 分析日志,找到对应目录权限即可解决问题

 

 

 

你可能感兴趣的:(MAC)