I am building an objective C framework with some swift files in it, and I want to create a pod. When I am using command pod spec link I get an error that says
- ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code.
and I noticed that the is is a NOTE logged that says
fatal error: 'project/project-Swift.h' file not found
Xcoce builds normally the project but as I understand the xcodebuild command that runs through pod spec lint can not find the auto generated header.
Any thoughts? Do the other warnings of the code make xcodebuild to fail compilation and so the auto generated header is not getting created?