We have a Swift Project where we use fastlane as build tool and CocoaPods for dependency management. Everything works fine on the development machine.
If we checkout the project on our new build server Mac Mini, we get the following error:
/Applications/buildAgent/work/1e0861a2675353b6/Appname/AppDelegate.swift:10:8: could not build Objective-C module 'HockeySDK'
I ran into same problem with a framework '
For me the problem was.
Some of the files from frameworks were not included in the commit. I was using Xcode to commit & push the code.
If you are using git, check if some of the files are missing by running '
git status' on the machine that has working copy of code.
Solution was to simply add the required missing files inside the project to git.
If that doesn't work you can try
Reinstalling the pods.
pod install. It shall remove all the pods.
pod installagain. Then clean & build the project.