Quick error when starting pod lib lint

Swift is very new to me. I have a quick project that builds fine in xcode and all unit tests pass.

However, when I run pod lib lint

I get the error no such module MyModule

.

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

      

Does anyone know why this is happening and why the project builds in xcode just fine, but not when I get to this stage?

+3


source to share


1 answer


assembly settings> Framework Search Paths Set the framework search path to $ (SRCROOT) and recursive.



+2


source







All Articles