You will find here answers to common problems:
‘image not found’ error at launch.
Make sure you included the frameworks
GSSDKCore.xcframework (and optionally
GSSDKOCR.xcframework) in the Embedded Binaries section of your project.
ld: warning: ld: warning: ignoring file GSSDKOCR.framework/GSSDKOCR, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64 ignoring file GSSDKCore.framework/GSSDKCore, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64 …
The Genius Scan SDK doesn’t support ARM Mac at this time. This means that it cannot be built for the ARM simulator targets.
This isn’t generally a problem as Mac ARM machines are not yet available. However, Xcode 12 beta 5 and up have a problem with SwiftUI Previews which seem to compile the preview for Mac ARM even though the preview runs on an x86 machine. To fix the problem, you need to exclude the arm64 architecture for simulator builds as shown below: