skip to Main Content

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).enter image description here

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


  1. You can try out these things,

    1. Make sure you are launching your workspace instead of the code project(i.e. .xcworkspace instead .xcproject)

    2. Try deintegrating and clearing pod cache for your workspace.

    Here are commands for reference,

    `pod deintegrate
    pod cache clean --all
    pod install`
    
    Login or Signup to reply.
  2. 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 install Purchases:

    enter image description here

    Change the line to pod 'GoogleMobileVision/FaceDetector'.

    then pod install again.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search