Skip to main content
Explorer
October 6, 2025
Solved

ST25DVCryptoDemo iOS not working

  • October 6, 2025
  • 25 replies
  • 1738 views

Hello @all,

 

I've downloaded ST25DVCryptoDemo for iOS from here, in order to take a look into the demo code for a new project.
Once I've tried to build the Demo app I've got a big amount of errors. In fact the console gave me this message "too many errors emitted, stopping now"


Screenshot 2025-10-06 at 12.16.17.png

Could someone please help me to fix those issues and make everything works properly?
I've also download the ST25SDK but, when I've took a look the Readme file I saw that the SDK can be used for Android app and PC app (not iOS app)

    This topic has been closed for replies.
    Best answer by victor laraison

    Hi ,

    Regarding your questions, ST’s iOS app does not require any private Apple entitlement to enable or use the FTM mailbox of the ST25DV. The only entitlement needed for all our iOS NFC applications is the standard iOS coreNFC entitlement.

    If you review the source code of the iOS NFC Tap application (refer to STSW-ST25IOS001 | Product - STMicroelectronics), you will find numerous examples demonstrating how to use the FTM mailbox.

    Specifically, you can refer to ST25DVI2CDataTransfertViewController.swift for the UI implementation and the folder \st25sdklib\include\com\st\st25sdk\ftmprotocol for the FTM protocol used in our demo.

    Another important point to note is that iOS CoreNFC custom commands operate only in non-addressed mode, and the manufacturer code is automatically appended by the iOS custom command itself.
    I let you have a look into a previous support here : Solved: NFC - ST25DV - How to use custom commands in my ow... - STMicroelectronics Community

    If you need further support or assistance, please feel free to reach out.



    25 replies

    ST Employee
    November 12, 2025

    Hi,

    We're using swift 5. Have you seen any issues with Swift 6 ? 

    Visitor II
    November 12, 2025

    Yes,

    Can you try with swift 6? Because we use an architetture actor-wave with swift 6 and I thing that this create a problem into the transceive function.

    Thanks

     

    Andrea123Author
    Explorer
    November 24, 2025

    @victor laraison 

    with Swift 6, read and write locking doesn't work due to strict concurrency.
    Have you ever tried compile with Swift 6?
    Are you planning to support strict concurrency?

    ST Employee
    November 25, 2025

    we only support Swift 5 for now. 

    We have evaluated Swift 6, but it would require extensive modifications, making a quick patch unfeasible.
    We plan to include Swift 6 support in our future release.
    Hope it clairifies.

     

     

    Explorer
    December 3, 2025

    I am integrating ST25DV tags on iOS and I am evaluating the feasibility of using Mailbox / Fast Transfer Mode (FTM).

     

    At the moment, CoreNFC rejects ST25DV custom commands such as Present Password (0xB3) and Fast Read Message (0xCC) with errors like:

    NFCError Code=1: Feature not supported
    NFCError Code=102: Stack Error (nfcd: Invalid Parameter)

    This seems to indicate that iOS requires a private NFC entitlement for Mailbox/FTM operations.

     

    I would like to ask:

    1. Do ST’s iOS applications use private Apple entitlements to enable Mailbox / password-related commands?
    2. Is it realistically possible for a third-party developer to obtain the same entitlement from Apple (with ST’s support)?
    3. Considering that the current ST iOS SDK is built for Swift 5 and does not work reliably in Swift 6 environments, is there an alternative recommended approach for enabling Mailbox/FTM on iOS?

     

     

    The goal is to understand whether the Mailbox/FTM path on iOS is technically achievable, or whether it should be considered unsupported on current Apple platforms.

     

    Thank you for your guidance.

     

    Wel

    ST Employee
    December 4, 2025

    Hi ,

    Regarding your questions, ST’s iOS app does not require any private Apple entitlement to enable or use the FTM mailbox of the ST25DV. The only entitlement needed for all our iOS NFC applications is the standard iOS coreNFC entitlement.

    If you review the source code of the iOS NFC Tap application (refer to STSW-ST25IOS001 | Product - STMicroelectronics), you will find numerous examples demonstrating how to use the FTM mailbox.

    Specifically, you can refer to ST25DVI2CDataTransfertViewController.swift for the UI implementation and the folder \st25sdklib\include\com\st\st25sdk\ftmprotocol for the FTM protocol used in our demo.

    Another important point to note is that iOS CoreNFC custom commands operate only in non-addressed mode, and the manufacturer code is automatically appended by the iOS custom command itself.
    I let you have a look into a previous support here : Solved: NFC - ST25DV - How to use custom commands in my ow... - STMicroelectronics Community

    If you need further support or assistance, please feel free to reach out.