iOS Question include an external library in your code

Star-Dust

Expert
Licensed User
Longtime User
I found a library written in object-c on GITHUB that is right for me. I was wondering if it was possible to include it in my project.

In B4A (or B4j) I would use #AdditionalJar and call methods with JavaObject. Or I would write a few lines of code (if the library is not complex) and using "Simple Library Compiler" I would get the desired result.

On iOs you don't even know where to start. It is possible to call methods with NativeObject and I have already exploited this possibility several times, but how to load an external library? (Assuming it is possible to do so)

These instructions are given in the library documentation to include the library in your Object-C project. But of course this is not possible for B4i
  1. Drag and drop the contents of the XXXX folder into your Xcode project.
  2. Select Copy items into destination group's folder (if needed).
  3. Go to Project > Build Phases > Link Binary With Libraries.
  4. Click + and add libiconv.dylib.

Suggestions on what to do?
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Thank you for your answer.

I have not found in the forum a tutorial to make a wrapping for b4i. Although for b4a there are several.
 
Last edited:
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
I found an answer to my question

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…