Hi, that error means that you dont have a release build of your proyect and i believe that Xcode 4 just build for Debug by default, so my recomendations are Configure Xcode to Build for release or press the debug arrow in the leadwerks editor, hope this make sense and sorry for my bad english.