无法启动探查器,并收到如下错误。
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)
任何帮助???
答案 0 :(得分:0)
看起来您将根(/)目录指定为绝对构建位置。
由于您的用户帐户没有权限在那里创建目录,因此构建失败。
转到Xcode - &gt;偏好 - &gt;地点和change the build location。