If you open an example in Xcode 4 and hit Run and it tells you that the “Build Succeeded” but you see no window check these two things:

  1. Click the project and then the blue project icon. Under Build Settings > Base SDK set it to Mac OS X 10.6.
  2. Set the Scheme to the name of the project, not openFrameworks.

Then Run again. It should build. If not…