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
-
In your Xcode project, go to File –> AddPackages.
-
In the top-right section of the window, search “https://github.com/Dynamsoft/mrz-scanner-spm”
-
Select
mrz-scanner-spm, chooseUp to Next Major Version, then click Add Package. -
Check all the xcframeworks and add.
Option 2: Add the Frameworks via CocoaPods
-
Add the frameworks in your Podfile, replace
TargetNamewith your real target name.target 'ScanMRZ' do use_frameworks! pod 'DynamsoftMRZScannerBundle','{version-number}' endPlease view user guide for the correct version number.
-
Execute the pod command to install the frameworks and generate workspace([TargetName].xcworkspace):
pod install