iOS Question Help for external library.

I have B4i version 8.90 and Hosted Builder.
I compiled a static library named CoreNFCLib with Xcode 16, which includes the two files CoreNFCLib.m and CoreNFCLib.h.
This produced the file CoreNFCLib.a.
I copied both CoreNFCLib.a and CoreNFCLib.h into the folder \Documents\B4i\Libraries.
I used B4iH2XML to create an XML file in the same folder.
Finally, I added the library path in B4i.
The library appears in the B4i Library tab.
Initial build: error — cannot find CoreNFCLib.h.
I moved a copy of the file to C:\Program Files\Anywhere Software\B4i\Project (strange, but now it finds the file).
Second build: error — cannot find the library, even though I added the path.
I added the #AdditionalLib: CoreNFCLib.a directive, but it didn’t help.
Is there a guide explaining how to add an external library compiled with Xcode to a B4i project?
I have been working on this issue for two weeks.
 
In order not to disturb, I installed the local build server, and it works for compiling apps that use B4i's internal libraries. If I use external libraries I created myself (.a, .h, .xml files), which folders should I copy them to?
I added the libraries to C:\Program Files\Anywhere Software\B4i\Libraries on my PC and to \B4iBuildServer\Libs on my Mac.
I also added #AdditionalLib: libCoreNFCLib.a to B4Xmainpage.
In this case, I receive the error message:
ld: library 'libCoreNFCLib.a' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Error: ** BUILD FAILED **
 
Upvote 0
Top