Skip to main content

Project Setup

1. Update Project's Build Setting

  • Enable Bitcode: NO
  • Validate Workspace: YES

NOTE: If you're using Xcode 14 or above you may not need to update these settings, since these are now deprecated

2. Update the Info.plist file:

  • This permission is mandatory so Lens can scan and process your receipts:
<key>NSCameraUsageDescription</key>
<string>Scan documents</string>
  • These permissions are mandatory if you support gallery backups/usage:
 <key>NSPhotoLibraryAddUsageDescription</key>
<string>Back up your document images in your photo gallery</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Choose document images to process from your photo gallery</string>
  • Optional. These permissions are mandatory if you want to improve uploading speed and vendor extraction accuracy:
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Helps to identify places around you</string>