Skip to content

Troubleshooting

SharSP edited this page Jan 10, 2019 · 2 revisions

Troubleshooting

Issue by adding SmilePassFaceDetector SDK manually

The recommended way of using SmilePassFaceDetector SDK is through cocoapods, but if you are adding this framework manually there is a chance you will see the error below:

`dyld: Library not loaded: @rpath/SmilePassFaceDetector.framework/SmilePassFaceDetector
    Referenced from: /Users/......
    Reason: image not found`

Solutions -

  • Make sure you have added SmilePassFaceDetector.framework in embedded binaries of your target's settings.
  • Add all frameworks which are used in Google Vision in your project.

Issue while installing SDK through cocoapod

While installing cocoapod through pod install if you are getting

Unable to find a specification for SmilePassFaceDetector

The reason is your cocoapod repo is not updated and you need to update it. To update your repo run

pod setup

After updating your repo, run pod install then it will work.