SWIFT sample application for Advanced Authentication Mobile Authenticator iOS SDK.
search cancel

SWIFT sample application for Advanced Authentication Mobile Authenticator iOS SDK.

book

Article ID: 370001

calendar_today

Updated On: 06-23-2025

Products

CA Strong Authentication CA Advanced Authentication CA Advanced Authentication - Strong Authentication (AuthMinder / WebFort)

Issue/Introduction

In Xcode 15, below errors are encountered with Mobile Authenticator iOS SDK while building the app in SWIFT project:

  1. Authenticator.h missing error is observed while opening XCFrameworks.
  2. XCFramework for Simulator have the _CodeSignature while for the physical devices is NOT, generating errors while compiling the main application.

Is there any iOS SWIFT sample-app with the updated SDK to overcome those problems?

Environment

CA Mobile Authenticator iOS SDK 2.2.0

Advanced Authentication: 9.1.xx (Strong Authentication and Risk Authentication)

Resolution

Our recommendation is to use the SWIFT sample application with the updated SDK to resolve the issue. Sample-app AASwiftSampleTest.zip can be downloaded from the KB article as well.

Additional Information

The AdvancedAuthDB.momd file is already part of Frameworks folder, you can find file inside AASwiftSampleTest/Frameworks/AAFoundation.xcframework/ios-arm64_x86_64-simulator/AAFoundation.framework/AdvancedAuthDB.momd folder. Before building the app, you should add this file to the project and build it.

Attachments

AASwiftSampleTest.zip get_app