In the “Build Phases” of the Xcode project settings, include the contents of the Assets folder in “Copy Bundle Resources.” Verify that DyScan.framework is included under “Link Binary with Libraries.”
If your app does not already ask for camera permissions, add the key “NSCameraUsageDescription” (Privacy - Camera Usage Description) to your app's Info.plist file. You should set the value to be the string a user sees when they are prompted for the camera permission (e.g. To scan credit cards).