I created my First Application successfully through OGRE templates, i runned it successfully for the first time in the simulator .
After this i cleanned everything using cmd+shift+k , again i started to run in the simulator ,Then now build is failed :
Error :
error: remove /Users/raghav/Library/Developer/Xcode/DerivedData/sampleApp-bmsvgtnnotojwgbxykndajpkdhjb/Build/Products/Debug-iphonesimulator/sampleApp.app/../sampleApp.app/en.lproj: Directory not empty
error: couldn't remove '/Users/raghav/Library/Developer/Xcode/DerivedData/sampleApp-bmsvgtnnotojwgbxykndajpkdhjb/Build/Products/Debug-iphonesimulator/sampleApp.app/..' after command failed: Directory not empty
When i Run It again and again , now it works fine . when i again started cleaning and running it again it shows the same Why it causes this error ?