Tuesday, May 14, 2024
HomeiOS Developmentios - Swift with Facetec crash: libc++abi: terminating as a result of...

ios – Swift with Facetec crash: libc++abi: terminating as a result of uncaught exception of kind increase::wrapexcept


I’ve a venture in Swift for iOS that has the combination of the Facetec library.
My backend colleagues managed to create a server to make use of this service in manufacturing.

That is how I configured the operate that helps me hook up with the service:

     static func initializeFaceTecSDKFromAutogeneratedConfig(completion: @escaping (Bool) -> ()) {
          guard let productionKeyJson = AppConfig.shared.productionKeyDetails?.toJsonString() else {
              print("Error: Manufacturing secret is lacking to initialize the SDK.")
              completion(false)
              return
          }

          let deviceKeyIdentifier = AppConfig.shared.DeviceKI
          let faceScanEncryptionKey = AppConfig.shared.publicKey
          
          if deviceKeyIdentifier.isEmpty || faceScanEncryptionKey.isEmpty {
              print("Error: Lacking machine configuration or encryption key to initialize the SDK.")
              completion(false)
              return
          }

          FaceTec.sdk.initializeInProductionMode(
              productionKeyText: productionKeyJson,
              deviceKeyIdentifier: deviceKeyIdentifier,
              faceScanEncryptionKey: faceScanEncryptionKey,
              completion: { success in
                  if success {
                      print("FaceTec SDK initialized in manufacturing mode")
                  } else {
                      print("FaceTec SDK initialization failed.")
                  }
                  completion(success)
              }
          )
      }

If I strive to hook up with this service the applying crashes and within the console I get this error:

libc++abi: terminating as a result of uncaught exception of kind increase::wrapexcept<increase::property_tree::ini_parser::ini_parser_error>: /non-public/var/cell/Containers/Information/Utility/F623130F-83F2-4E2C-9769-2E0AED9B94F0/tmp/D0200F0E-9A21-46A3-AB3C-91B294414CA0(1): '=' character not present in line

I do not perceive what the error is because of, if maybe it’s my error within the software or the server just isn’t responding because it ought to.

Might you assist me? Please.

Thanks!

Connect with manufacturing providers for the facetec glad path



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments