cancel
Showing results for 
Search instead for 
Did you mean: 

NFC Tap Source Code

giorgio86
Associate II

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 discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions

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

 

 

View solution in original post

6 REPLIES 6
victor laraison
ST Employee

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,

 

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.

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

 

 

Ok now i am seeing this

Screenshot 2024-04-10 at 16.36.52 (2).png

 

victor laraison
ST Employee

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

 

giorgio86
Associate II

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.