1

I am trying to run Sinch Verification on iOS (Swift). I imported the project using Cocoapods. The project gets built correctly. But when I try to run it on simulator, it gives following error:

dyld: Library not loaded: @rpath/SinchVerification.framework/SinchVerification
  Referenced from: /Users/vishal/Library/Developer/CoreSimulator/Devices/31EA265F-D753-44E9-892C-59306E865073/data/Containers/Bundle/Application/192BC0E1-00DC-4178-A78D-C8C1CC568BD2/Myapp.app/Myapp
  Reason: image not found

I have tried this, doesn't help. I can't even explicitly mention the framework file as mentioned here. I don't see Sinch in the targets section in build settings of Pods.

Community
  • 1
  • 1
Vishal
  • 467
  • 1
  • 8
  • 17

1 Answers1

1

The Sinch Swift frameworks are dynamic frameworks, so make sure that you’ve added the Sinch Swift framework bundles as Embedded Binaries. Further, In the Xcode target build settings, verify that the setting Runpath Search Paths is set to @executable_path/Frameworks.

Documentation - Sinch Swift SDK

Sharukh Mastan
  • 1,491
  • 18
  • 17
decipher21
  • 53
  • 1
  • 5