Skip to main content
Visitor II
April 10, 2024
Solved

NFC Tap Source Code

  • April 10, 2024
  • 3 replies
  • 1674 views

Hello,

i downloaded the source code of the iOS App (STSW-ST25IOS001), but i get tons of error, it's not compilable.

Has anyone tried? I wanted to use it as reference for developing.

I already made an app with Android and it's working, with far less troubles.

Am I missing some steps to make it run?

I have already read the pdf about j2objc and bridging but i guess the original source code should already be set.

 

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

    please, 

    - change your J2OBJC_HOME path , and link to yours

    - Remove the target ST25NFCAppClip from your env : it is linked to the bundle we use.

    Let me know next status...

     

     

    3 replies

    ST Employee
    April 10, 2024

    hi giorgio86,
    Thx for your interest.
    Have you changed the J2OBJC_HOME path into he build settings of the target ? 

    Otherwise, could you send me the erro log file. It would help. 

    Thx and br,

     

    giorgio86Author
    Visitor II
    April 10, 2024

    Yes, there is a user defined value J2OBJC_HOME set to /Users/Shared/mmysw/Tools/j2objc/ which i confirm exists.

    I just re downloaded the sorce code to have a clean one. The errors are the following:

    giorgio86_1-1712756438681.png

    but I have seen many more inside the single files.

    I already tried to change the profile team but one step at the time i guess

    Thank you in advance for your support.

    ST Employee
    April 10, 2024

    please, 

    - change your J2OBJC_HOME path , and link to yours

    - Remove the target ST25NFCAppClip from your env : it is linked to the bundle we use.

    Let me know next status...

     

     

    ST Employee
    April 10, 2024

    you must use your own bundle as well as your own provisioning profiles : ref to your Apple Developer account on how to create them.

     

    giorgio86Author
    Visitor II
    April 11, 2024

    Ok i succeeded in compiling, tanks for your effort.

    Other than the certificates I had some problems with the User Header Search Paths that were not correct in the original source file (the paths were relative to old folders i guess since i don't have them)


    - Remove the target ST25NFCAppClip from your env : it is linked to the bundle we use.

     


    This was the core problem I suppose, I really didn't know what that was.

    Thanks again.