Skip to main content
Associate
Apr 10, 2024 1:10 PM UTC
Solved

NFC Tap Source Code

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.
victor laraison
victor laraisonBest answer
ST Employee
Apr 10, 2024 2:03 PM UTC

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...

 

 

6 replies

victor laraison
ST Employee
Apr 10, 2024 1:25 PM UTC

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
Associate
Apr 10, 2024 1:42 PM UTC

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.

victor laraison
victor laraisonBest answer
ST Employee
Apr 10, 2024 2:03 PM UTC

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...

 

 

victor laraison
ST Employee
Apr 10, 2024 4:06 PM UTC

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
Associate
Apr 11, 2024 7:32 AM UTC

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.