cancel
Showing results for 
Search instead for 
Did you mean: 

Error while compiling latest IOS NFC source code

SVemp.1
Associate III

Hi,

I am trying to compile the IOS NFC tap source code and I am getting open ssl & J2Objc hearder not found errors.

We are trying to read and write with the ST25DV series of tags.

Details

 Xcode Version :   15.3
 min dev            :   15.0

Downloaded source code version : 7.4.0

Does the Source code support the latest versions of IOS?

Any extra steps needed for proper compilation?

Error:

Compilation errorCompilation error

 

Thanks,

Suresh

 

 

Suresh
22 REPLIES 22
victor laraison
ST Employee

hi suresh, 

any update regarding version of J2OBJC ? 

thx and br,

 

SVemp.1
Associate III

Hi Victor,

Sorry for late reply, Just wanted to make sure everything is working fine. We can close this thread as it working fine.

Changing to version 2.4 from 2.8 is resolved the compile issue.

Just wanted to iterate all the steps for people new to IOS.

1. Downloaded IOS NFC tap source code(STSW-ST25IOS001) (Version 7.4.0 )

2.Check compatible version of J2OJBC version(2.4 is compatible for 7.4.0)

2.Downloaded Source code from https://github.com/google/j2objc/releases 

SVemp1_5-1717572735216.png

 

 

 

3. Goto downloaded folder and Build using command $make dist . It took some time and created dist folder with lib,frameworks,include

4.Linking JRE also done. Make sure there no inverted colons in path i.e "ljre_emul liconv". Path should look like below.

SVemp1_6-1717572965320.png

 

 

5. Updated search paths with dist folder.

SVemp1_2-1717572537983.png

Example: Home path should be   => J2objFolder/dist/

 

6. Update Bundle path. Updating bundle path may remove all above settings. So recheck again.

7. Update header file in bridge.

Compile the code.

 

Thanks,

Suresh
victor laraison
ST Employee

Hi Suresh,

Very good news. 

Thx a lot for your feedback and summary. I will update user manual accordingly. 

So, from now, you can enjoy the iOS NFC Tap 🙂 

thx and br,