开发者

Get error when upgrade Mac OS Lion and Xcode 4.1

开发者 https://www.devze.com 2023-03-29 16:00 出处:网络
I got many error even just create a simple hello world project It shows : Check dependencies error: unable to create \'/Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqp

I got many error even just create a simple hello world project

It shows :

Check dependencies

error: unable to create '/Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Intermediates' (Permission denied)

Process HelloWorld/HelloWorld-Info.plist

error: couldn't create directory /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app: Permission denied

The file “Info.plist” doesn’t exist.

also

error: couldn't create directory /Users/webberl开发者_如何学Pythonai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app: Permission denied

error: open /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app/ResourceRules.plist: No such file or directory

Did I miss anything ???(I'm start miss my Mac OS 10.6.8 with Xcode 4.0 ...)

BTW,cocos2D also doesn't work now ...

Do I need to reinstall my Mac ??


You can try repair permissions in the Disk Utility app just to make sure everything is OK.

The other thing I would check is that the case of your directory and file names match what's actually on the filesystem. You can get some weird permission errors if the app is buggy and mistakenly considers Hello and hello to be different (or the same, depending on how your mac is setup).

Hope that helps.


OK,I might found the reason , When I install the Xcode 4.1

It shows I have old version of Xcode , and the installer will remove it.

It doesn't remove clearly ... that why I got so many error

So the solution is reinstall whole system and Xcode 4.1

After then ,install the cocos2D-iphone , it works fine.


Finally I reinstall my all system and back to 10.6.8

Than install XCODE 4.1 for OS 10.6

This is a bad solution , need to backup many files ...

0

精彩评论

暂无评论...
验证码 换一张
取 消