Table of contents

How to Upgrade

Update the Libraries

There are 2 ways in which you can include the DynamsoftMRZScannerBundle library in your app:

Option 1: Add the xcframeworks via Swift Package Manager

  1. In your Xcode project, go to File –> AddPackages.

  2. In the top-right section of the window, search “https://github.com/Dynamsoft/mrz-scanner-spm”

  3. Select mrz-scanner-spm, choose Up to Next Major Version, then click Add Package.

  4. Check all the xcframeworks and add.

Option 2: Add the Frameworks via CocoaPods

  1. Add the frameworks in your Podfile, replace TargetName with your real target name.

    target 'ScanMRZ' do
       use_frameworks!
    
    pod 'DynamsoftMRZScannerBundle','{version-number}'
    
    end
    

    Please view user guide for the correct version number.

  2. Execute the pod command to install the frameworks and generate workspace([TargetName].xcworkspace):

    pod install
    

This page is compatible for: