fix for import as cocoa touch framework as module to a swift only project

Signed-off-by: Stephan Krusche <krusche@in.tum.de>
Merge pull request #2206 from krusche/master

fix for import as cocoa touch framework as module to a swift only project