Swift is very new for me. I have a swift project that builds fine in xcode and all the unit tests pass.
However when I run pod lib lint I get a no such module MyModule error.
Testing with xcodebuild.
-> my-swift-project (0.4.2)
- WARN | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
- ERROR | [iOS] xcodebuild: my-swift-project/Echo/Delegates/MyModule/MyModule.swift:7:8: error: no such module 'MyModule'
The file in question has an import module declaration at the top of the file
import MyModule
Would anyone know why this would be happening and why the project builds in xcode fine but not when I get to this stage?