fingerprintjs-ios
fingerprintjs-ios copied to clipboard
Arm64 support
Hello!
Thank you for this library.
I want to request arm64 support to run the app using FingerprintJS on emulator. For now it's not possible because of the error.
Hello @alaegin,
The FingerprintJS library does support both simulated and real arm64 devices. I can confirm that it works with our sample project without any issues. With that said, the error that you encountered is rather unusual and I definitely need more details to help you pinpoint the root cause of the issue.
To provide further assistance, I need you to share the following:
- Your Xcode version.
- The exact steps that you followed to integrate the FingerprintJS library with your iOS app.
Regardless of the above, if you haven't done so already, try to clean build folder and derived data for your project, as it often helps to resolve odd build errors in Xcode.
@mgutski Hello!
Thank you for response.
Xcode version is 15.3
Steps:
- I added pod to my Podfile
pod 'FingerprintJS', '1.5.0' - I integrated the library like this:
import FingerprintJS
import Foundation
import shared
class FingerprintProviderImpl: IOSDeviceFingerprintProvider {
lazy var fingerprinter: Fingerprinter = {
let configuration = Configuration(version: .v5, stabilityLevel: .optimal, algorithm: .sha256)
let fingerprinter = FingerprinterFactory.getInstance(configuration)
return fingerprinter
}()
func getDeviceFingerprint(callback: @escaping (String?) -> Void) {
fingerprinter.getFingerprint(callback)
}
func getDeviceId(callback: @escaping (String?) -> Void) {
fingerprinter.getDeviceId(callback)
}
}
- I'm trying to launch my app on iPhone 15 (17.2) emulator and the error occurs
That's strange, have you tried clean building the project?
The sample project that I mentioned also uses CocoaPods. Are you able to reproduce the error with that project? If so, please share your CocoaPods version.
Closing as there are no further comments or questions from the issue's author.