I have an Xcode project which I haven’t built in a while which when I build the project I get the following error: Framework ‘FaceDetector’ not found (see screenshot).
My podfile includes this line: #pod 'GoogleMobileVision/FaceDetector'
, but I do not see this framework anywhere in my project. How can I fix this?
2
Answers
You can try out these things,
Make sure you are launching your workspace instead of the code project(i.e.
.xcworkspace
instead.xcproject
)Try deintegrating and clearing pod cache for your workspace.
Here are commands for reference,
If the line is
#pod 'GoogleMobileVision/FaceDetector'
it means you or someone else commented out the pod. It won’t be installed.Viewing the
podfile
in Xcode will show the item dimmed. e.g This spec will only installPurchases
:Change the line to
pod 'GoogleMobileVision/FaceDetector'
.then
pod install
again.