ChangUZ
ChangUZ

Reputation: 5440

Error after Xcode upgrade: couldn't add 'com.apple.XcodeGenerated' tag

warning: couldn't add 'com.apple.XcodeGenerated' tag to '/Users/user/Library/Developer/Xcode/DerivedData/MyApp-sakjfljdasklsasadfkj;/Build/Intermediates/MyApp.build': Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x22ea133a "The operation couldn’t be completed. No such file or directory"

I upgrade xcode 3.2 to 4.1

This MyApp worked fine before Xcode upgrade to 4.1

Upvotes: 3

Views: 3462

Answers (4)

funroll
funroll

Reputation: 37103

None of the other solutions worked for me. This happened to me when I checked out an old branch and then checked back out the new branch and remnants of the old one were still present.

I fixed it by cleaning using git:

git clean -n -f -x -d

Now here's the real command without -n:

git clean -f -x -d

Upvotes: 0

Shaheen Ghiassy
Shaheen Ghiassy

Reputation: 7517

I had the same problem. Running:

sudo chmod -R 777 ~/Library/Developer

worked for me

Upvotes: 1

ChangUZ
ChangUZ

Reputation: 5440

After running, a window is opend.

I clicked 허용 or 승인 (in English, maybe "permit").

After clicking "permit" key, it works fine with no error.

Upvotes: 1

prakash
prakash

Reputation: 59689

Clean your build folder! (⌥⇧⌘K)

Upvotes: 3

Related Questions