无法启动Xcode Profiler,错误:无法创建目录:/ <app name =“”> WatchApp Extension.build(权限被拒绝)

时间:2016-03-16 09:48:31

标签: ios xcode profiling watchkit

无法启动探查器,并收到如下错误。

Write auxiliary files

/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build/Objects-normal/i386
error: Unable to create directory: /<App name> WatchApp Extension.build/Objects-normal/i386 (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build
error: Unable to create directory: /<App name> WatchApp Extension.build (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build
error: Unable to create directory: /<App name> WatchApp Extension.build (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build
error: Unable to create directory: /<App name> WatchApp Extension.build (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build
error: Unable to create directory: /<App name> WatchApp Extension.build (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build/Objects-normal/i386
error: Unable to create directory: /<App name> WatchApp Extension.build/Objects-normal/i386 (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build
error: Unable to create directory: /<App name> WatchApp Extension.build (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build
error: Unable to create directory: /<App name> WatchApp Extension.build (Permission denied)
/bin/mkdir -p /WinWorker\ WatchApp\ Extension.build
error: Unable to create directory: /<App name> WatchApp Extension.build (Permission denied)

任何帮助???

1 个答案:

答案 0 :(得分:0)

看起来您将根(/)目录指定为绝对构建位置。

由于您的用户帐户没有权限在那里创建目录,因此构建失败。

转到Xcode - &gt;偏好 - &gt;地点和change the build location

enter image description here