Open alaegin opened 2 weeks ago
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:
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:
pod 'FingerprintJS', '1.5.0'
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)
}
}
3. 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.
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.