Skip to main content
Visitor II
May 17, 2024
Solved

Error while compiling latest IOS NFC source code

  • May 17, 2024
  • 20 replies
  • 5336 views

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

 

 

    This topic has been closed for replies.
    Best answer by SVemp.1

    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,

    20 replies

    ST Employee
    May 30, 2024

    Hi suresh,

    Could we plan a conf call for next week ? I think a remote sharing session would help.

    Let me know.

    br,

     

    SVemp.1Author
    Visitor II
    May 30, 2024

    Thanks Victor This will be help full,

    Is there a posibility for tormorow?

    Can you send your convenient time and date? We will be ready for that time.

    Can you also send meeting link for the same?

     

    Thanks,

    Suresh 

     

    SVemp.1Author
    Visitor II
    May 31, 2024

    Hi Victor,

    Any update on time and date for conference call?

     

     

    Thanks,

    Suresh

     

    ST Employee
    May 31, 2024

    Hi suresh,
    I would need more information before launching a conf call, because I need to be assisted by regional support and marketing.

    What  region are you in ? Asia, US, other... ? What company do you work for ? 

    thx and br,

     

     

    SVemp.1Author
    Visitor II
    May 31, 2024

    Hi Victor,

    Our Company and web site details.

    https://safeair.ai/ 

    I am remotely working from India(Hyd).

    Mean while Can you check below steps.

    Can you share any missing steps with screen shots that will be helpfull.

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

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

    SVemp1_0-1717141481343.png

     

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

    4.Linking JRE also done.

    SVemp1_1-1717142649868.png

    5. Updated search paths with dist folder.

    SVemp1_2-1717142685945.png

    6. There are 2 bridging headers. In which file we need to import header files?

    SVemp1_4-1717142882356.png

    7. Do we need to download any module and link like below?

    SVemp1_5-1717143040064.png

     

     

     

    Thanks,

    Suresh

     

     

     

     

     

     

     

    SVemp.1Author
    Visitor II
    June 1, 2024

    Hi Victor,

    Now i am getting below code errors.

    Any solution for this?

     

    WhatsApp Image 2024-05-31 at 10.50.39 PM (1).jpeg

    WhatsApp Image 2024-05-31 at 10.50.39 PM (2).jpeg

    WhatsApp Image 2024-05-31 at 10.50.39 PM (3).jpeg

    WhatsApp Image 2024-05-31 at 10.50.39 PM (4).jpeg

    WhatsApp Image 2024-05-31 at 10.50.39 PM (5).jpeg

    WhatsApp Image 2024-05-31 at 10.50.39 PM (6).jpeg

    WhatsApp Image 2024-05-31 at 10.50.39 PM.jpeg

    Thanks,

    Suresh

     

    ST Employee
    June 3, 2024

    Hi Suresh,
    At least we're making a little progress...

    I guess issues are coming from the latest version of J2OBC used. I delivered iOS NFC Tap with J2OBJC V2.4.

    What is your version ? 

    Thx and br,

     

    SVemp.1Author
    Visitor II
    June 3, 2024

    Hi Victor,

    I have used 2.8 release. Let me check with 2.4 version and come back to you.

     

    Thanks for the reply.

     

    Br

    Suresh

    ST Employee
    June 5, 2024

    hi suresh, 

    any update regarding version of J2OBJC ? 

    thx and br,

     

    SVemp.1AuthorAnswer
    Visitor II
    June 5, 2024

    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,

    ST Employee
    June 5, 2024

    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,