I am fighting with Xcode 4 workspaces. Currently Xcode 4 wins. Thus, my situation:
I have the workspace with the iOS app project. There is also static library project iO
I could use Core Plot as a static library and workspace sibling, with two build configurations:
Release:
AdHoc (build configuration for "Archive" step in Scheme, produces a shareable .ipa):
Hope it will help someone to not waste a day on this.