Star-Dust Expert Licensed User Longtime User Nov 25, 2025 #1 with the new compiler based on xcframeworks is it necessary to recompile all the B4I libraries we created to make them work correctly? If we recompile them will they work with those who have an older version of B4i? Thank you
with the new compiler based on xcframeworks is it necessary to recompile all the B4I libraries we created to make them work correctly? If we recompile them will they work with those who have an older version of B4i? Thank you
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2025 #2 Star-Dust said: with the new compiler based on xcframeworks is it necessary to recompile all the B4I libraries we created to make them work correctly? Click to expand... Recommended but not mandatory. To use an old library with B4i v10+ you need to update its header file and change the imports of frameworks. For example: Code: Copy #import <iCore/iCore.h> #import "iSD_CreativeBackground.h" //not needed because it references a non-framework library #import <iXUI/iXUI.h> #import <iBitmapCreator/iBitmapCreator.h> Note that old libraries will not work with ARM simulators. Star-Dust said: If we recompile them will they work with those who have an older version of B4i? Click to expand... Frameworks will not work with old versions of B4i, however old versions will be soon obsolete. Upvote 0
Star-Dust said: with the new compiler based on xcframeworks is it necessary to recompile all the B4I libraries we created to make them work correctly? Click to expand... Recommended but not mandatory. To use an old library with B4i v10+ you need to update its header file and change the imports of frameworks. For example: Code: Copy #import <iCore/iCore.h> #import "iSD_CreativeBackground.h" //not needed because it references a non-framework library #import <iXUI/iXUI.h> #import <iBitmapCreator/iBitmapCreator.h> Note that old libraries will not work with ARM simulators. Star-Dust said: If we recompile them will they work with those who have an older version of B4i? Click to expand... Frameworks will not work with old versions of B4i, however old versions will be soon obsolete.
Star-Dust Expert Licensed User Longtime User Nov 25, 2025 #3 Erel said: To use an old library with B4i v10+ you need to update its header file and change the imports of frameworks. Click to expand... Sorry, one last ignorant question, header file do you mean the xml file? Upvote 0
Erel said: To use an old library with B4i v10+ you need to update its header file and change the imports of frameworks. Click to expand... Sorry, one last ignorant question, header file do you mean the xml file?
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2025 #4 No. The .h file that is copied to the Mac. Two examples are attached. Note that I changed the imports at the top of the files and removed redundant imports. Attachments iSD_headers.zip iSD_headers.zip 3.4 KB · Views: 141 Upvote 0
No. The .h file that is copied to the Mac. Two examples are attached. Note that I changed the imports at the top of the files and removed redundant imports.
Star-Dust Expert Licensed User Longtime User Nov 25, 2025 #5 Erel said: No. The .h file that is copied to the Mac. Two examples are attached. Note that I changed the imports at the top of the files and removed redundant imports. Click to expand... Thank's Upvote 0
Erel said: No. The .h file that is copied to the Mac. Two examples are attached. Note that I changed the imports at the top of the files and removed redundant imports. Click to expand... Thank's