I use Carthage and I get the error Couldn't generate Swift representation when I touch import module in own class. I tried several libraries and I got the same result. I wrote there and there but it didn't help me.
I just rename the project folder from Development for iOS to Development.