Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm64 support #50

Open
alaegin opened this issue Aug 29, 2024 · 3 comments
Open

Arm64 support #50

alaegin opened this issue Aug 29, 2024 · 3 comments
Labels
cannot reproduce This issue cannot be reproduced

Comments

@alaegin
Copy link

alaegin commented Aug 29, 2024

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.

image

@mgutski
Copy link
Collaborator

mgutski commented Aug 29, 2024

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.

@alaegin
Copy link
Author

alaegin commented Aug 29, 2024

@mgutski Hello!

Thank you for response.

Xcode version is 15.3

Steps:

  1. I added pod to my Podfile pod 'FingerprintJS', '1.5.0'
  2. 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)
    }
}
  1. I'm trying to launch my app on iPhone 15 (17.2) emulator and the error occurs

@mgutski
Copy link
Collaborator

mgutski commented Aug 29, 2024

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.

@mgutski mgutski added the cannot reproduce This issue cannot be reproduced label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce This issue cannot be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants