简体   繁体   中英

Xcode Error When Building

Whenever I compile something in Xcode, I get 3 errors. One is under "Checking dependencies" and says "Unable to create directory /var/folders/zZ/string of letters/more directories/more letters." What is wrong with Xcode/my computer? I switched to the Xcode 4 preview and that works fine, but is not stable. Yes, I have tried restarting. This has been going on for weeks. Thanks for the help.

I had a similar issue, which showed up after switching to xcode 4. The error was:

error: unable to create '/build' (Permission denied)

The solution was to change '/build' to 'build' in the project configuration under Intermediate Build File Path.

In your case I would guess the pch file has a path that starts with '/'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM