I am using the latest version of B4i and I am compiling a project using Local Builder (version 10.02) with the internal B4i function "Compile to Library" into a custom B4i library that depends on internal B4i libraries. A problem occurred when integrating this custom compiled library.
The generated XML file, which was automatically saved to the "Additional Libraries" folder during the compilation process, contains the following line:
<dependsOn includesSingletonModules="true">iDateUtils.xcframework.b4i</dependsOn>
When I add my compiled library to a project, the IDE shows the following error:
Error parsing libraries.
The file "...\libraries\idateutils.xcframework.b4i.xml" could not be found.
However, in the internal libraries folder there is only:
idateutils.xml
and not:
idateutils.xcframework.b4i.xml
Renaming idateutils.xml to idateutils.xcframework.b4i.xml removes the error in the IDE. This suggests that the generated XML of my custom library references the .xcframework version of internal libraries. My B4i installation (latest version) does not include these `.xcframework.b4i.xml` files.
- Should the latest B4i version (10.00) include *.xcframework.b4i.xml files for standard libraries like iDateUtils?
- Is there a mismatch between the library compiler and the distributed libraries?
- Is there a recommended way to ensure compatibility when compiling custom libraries that depend on internal ones?
Any help or clarification would be appreciated.