Size of the Scandit SDK

When downloading our SDK, you might wonder what is the impact of adding our SDK to your app. When you look at the size of ScanditCaptureCore.xcframework (~43 MB) or ScanditTXT.xcframework (~34 MB), the first impression might be that these frameworks will significantly impact the size of your app. The good news is that the size of the XCFramework is not an indication of the size increase in your app once you add it.

Architectures

Each XCFramework contains 2 fat binaries (one for the simulator and one for the device). The 2 fat binaries contain slices for arm64 (device and simulator) and x86_64 (simulator).

Each slice is a full build of our SDK and each device only needs the slice that is relevant to its architecture.

The two slices for the simulator are stripped away when uploading to the App Store.

The size of the arm64 slice for the device can be retrieved by checking the binary inside the ios-arm64 folder (e.g., ScanditCaptureCore.xcframework/ios-arm64/ScanditCaptureCore.framework/ScanditCaptureCore)

dSYMs

Within the XCFramework we have a .dSYM file. This file has a considerable size and is used to symbolicate crash reports. dSYMs will have no impact on the size of your app.

Delta updates

The App Store supports delta updates. Only files that changed will be downloaded again. Because our SDK is distributed as a dynamic framework, if you don’t update our SDK, the delta update will not download it again.