You will find here answers to common problems:
Ensure 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 you cannot build it for the ARM simulator targets.
This issue generally doesn’t arise, 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:
© 2020 The Grizzly Labs, Inc. All rights reserved.