Other B4i v10.0 has been released!

Erel

B4X founder
Staff member
Licensed User
Longtime User
xcode-png.168128


I'm happy to release B4i v10.0 :)
B4i compilation process has been rewritten from scratch based on Apple's latest methodology. All native libraries were rebuilt and most external dependencies were updated with latest versions.

B4i libraries are now compiled as xcframeworks and are compatible with iOS arm64, x86 simulator and arm64 simulator. The new build-chain works properly with Swift frameworks, assuming that the needed Objective C headers are available. Technical details: https://www.b4x.com/android/forum/t...itionallib-and-dependson.169223/#post-1037060

This is an important update as most SDKs are now built with Swift and it was no longer possible to wrap them with the old build-chain.

Other improvements:
  • Support for Xcode 26 and iOS 26.
  • Support for ARM based Macs.
  • #Macro attribute. Defined in B4XMainPage or Main modules. Format: <type>, <name>, <link>. Type can be Title or After Save. More to come in the future. Link is based on the comment link feature: https://www.b4x.com/android/forum/threads/119897/#content
    Examples:

    B4X:
    #Macro: Title, B4XOrderedMap Doc, https://www.b4x.com/android/forum/threads/b4x-b4xorderedmap-get-first-item-nth-item-and-last-item.118642/
    #Macro: Title, B4XPages Export, ide://run?File=%B4X%\Zipper.jar&Args=Project.zip
    'open Objects folder after saving project:
    #Macro: After Save, open objects folder, ide://run?File=%WINDIR%\explorer.exe&Args=%PROJECT%\Objects
  • Other improvements to the builder, including a fix to codesign requiring password.
  • New command line options for the IDE:
    -INI=<ini file path> - allows running the IDE with an alternative INI file. Note that that standard INI file is stored under: C:\Users\<user name>\AppData\Roaming\Anywhere Software\b4i\b4xV5.ini
    -INI_<property key here>=<property value>
    Example:
    B4X:
    "c:\Program files\Anywhere Software\b4i\b4i.exe" -INI_CodeTheme=Dark "-INI_TitleNotEmpty=This is the second IDE: $FILE_NAME$"
  • Bug fixes and other minor improvements

This is a large update which might require a few changes to existing projects, mainly related to referencing of external SDKs.

Older versions of B4i are not compatible with the new build-chain. Developers using older versions of B4i with the hosted builder, will need to switch to a local builder or update. It is not possible to keep the old build-chain together with the new one. A builder running the old build-chain will remain active for 2-3 weeks.

Developers eligible for a free upgrade will receive an email with upgrade instructions, other developers will receive a discount offer.
 

Star-Dust

Expert
Licensed User
Longtime User
xcode-png.168128


I'm happy to release B4i v10.0 :)
B4i compilation process has been rewritten from scratch based on Apple's latest methodology. All native libraries were rebuilt and most external dependencies were updated with latest versions.

B4i libraries are now compiled as xcframeworks and are compatible with iOS arm64, x86 simulator and arm64 simulator. The new build-chain works properly with Swift frameworks, assuming that the needed Objective C headers are available. Technical details: https://www.b4x.com/android/forum/t...itionallib-and-dependson.169223/#post-1037060

This is an important update as most SDKs are now built with Swift and it was no longer possible to wrap them with the old build-chain.

Other improvements:
  • Support for Xcode 26 and iOS 26.
  • Support for ARM based Macs.
  • #Macro attribute. Defined in B4XMainPage or Main modules. Format: <type>, <name>, <link>. Type can be Title or After Save. More to come in the future. Link is based on the comment link feature: https://www.b4x.com/android/forum/threads/119897/#content
    Examples:

    B4X:
    #Macro: Title, B4XOrderedMap Doc, https://www.b4x.com/android/forum/threads/b4x-b4xorderedmap-get-first-item-nth-item-and-last-item.118642/
    #Macro: Title, B4XPages Export, ide://run?File=%B4X%\Zipper.jar&Args=Project.zip
    'open Objects folder after saving project:
    #Macro: After Save, open objects folder, ide://run?File=%WINDIR%\explorer.exe&Args=%PROJECT%\Objects
  • Other improvements to the builder, including a fix to codesign requiring password.
  • New command line options for the IDE:
    -INI=<ini file path> - allows running the IDE with an alternative INI file. Note that that standard INI file is stored under: C:\Users\<user name>\AppData\Roaming\Anywhere Software\b4i\b4xV5.ini
    -INI_<property key here>=<property value>
    Example:
    B4X:
    "c:\Program files\Anywhere Software\b4i\b4i.exe" -INI_CodeTheme=Dark "-INI_TitleNotEmpty=This is the second IDE: $FILE_NAME$"
  • Bug fixes and other minor improvements

This is a large update which might require a few changes to existing projects, mainly related to referencing of external SDKs.

Older versions of B4i are not compatible with the new build-chain. Developers using older versions of B4i with the hosted builder, will need to switch to a local builder or update. It is not possible to keep the old build-chain together with the new one. A builder running the old build-chain will remain active for 2-3 weeks.

Developers eligible for a free upgrade will receive an email with upgrade instructions, other developers will receive a discount offer.
Thanks
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
I just installed this ver.10.
But I see only two builders, not three.

See the attached image.

Thanks.
 

Attachments

  • screen1.png
    screen1.png
    4.6 KB · Views: 25
Upvote 0

ema01

Active Member
Licensed User
Longtime User
Older versions of B4i are not compatible with the new build-chain. Developers using older versions of B4i with the hosted builder, will need to switch to a local builder or update. It is not possible to keep the old build-chain together with the new one. A builder running the old build-chain will remain active for 2-3 weeks.

I released an update built on the 10.0 beta, but the application crashes on an older iPhone 6s (iOS 15.8)
In case i wanted to make a final update for those old devices, can i just reupload the update, but build it using builder2?
Then from the next one just bump the minimum iOS version
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
But I see only two builders, not three.
This is as expected. The new version will not access Builder2.

I read somewhere that the new version only works with iOS 16+, due to the Swift conversion.
It is recommended to set MinVersion to 16 to avoid issues with missing Swift runtime libraries. However, if not using Swift based frameworks then you can keep supporting lower versions (which are quite rare now).
I released an update built on the 10.0 beta, but the application crashes on an older iPhone 6s (iOS 15.8)
In case i wanted to make a final update for those old devices, can i just reupload the update, but build it using builder2?
If you have access to the crash logs then start a new thread and post them.
You will need to revert to B4i v8.9 in order to use Builder2. You can have both versions installed together.
 
Upvote 0

ema01

Active Member
Licensed User
Longtime User
I read somewhere that the new version only works with iOS 16+, due to the Swift conversion.

Yes. On the IDE.
It says that it might not work. In fact, the app opens but crashes after it estabilishes connection to a BLE devices, so we need to rebuild it with the old libraries to make a final version for those who still want to use an iphone 6
 
Upvote 0

ema01

Active Member
Licensed User
Longtime User
You will need to revert to B4i v8.9 in order to use Builder2. You can have both versions installed together.
Hello erel, could you send me the installer to 8.9? I made the mistake of not installing 10 to another directory
 
Upvote 0

kohlenbach

Member
Licensed User
what a mess.

"...need to switch to a local builder or update. "

So, what you are saying is that I paid for a hosted plan, because i dont have mac computer and now I need buy
a mac computer to update my paid apps, which support 15.8 ios, in the app store.
I dont have the money to buy now a mac computer.
In my mind is the update Apple wants for "age control", what must be for all installed (paid) apps and fullfilled soon.

Countries like Brasil have more old ios devices installed than new devices , because they are still on sell
and young people only can effort cheaper devices.

So why 2-3 weeks support the old system ?
Shouldn't the support last until the end of the period I purchased and what I purchased at the begining? Or do I get my money back, because I must ...switch to a local builder..."

The best is you give more time for "hosted builder" clients, minimum 6 month.
 
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
what a mess.

"...need to switch to a local builder or update. "

So, what you are saying is that I paid for a hosted plan, because i dont have mac computer and now I need buy
a mac computer to update my paid apps, which support 15.8 ios, in the app store.
I dont have the money to buy now a mac computer.
In my mind is the update Apple wants for "age control", what must be for all installed (paid) apps and fullfilled soon.

Countries like Brasil have more old ios devices installed than new devices , because they are still on sell
and young people only can effort cheaper devices.

So why 2-3 weeks support the old system ?
Shouldn't the support last until the end of the period I purchased and what I purchased at the begining? Or do I get my money back, because I must ...switch to a local builder..."

The best is you give more time for "hosted builder" clients, minimum 6 month.
You only need to update the B4i to v10.0 to use the new Bridge and Hosted builder 1 and 3 which is iOS 26 compatible if I understand correctly. No need to buy A MAC
 
Upvote 0

kohlenbach

Member
Licensed User
You only need to update the B4i to v10.0 to use the new Bridge and Hosted builder 1 and 3 which is iOS 26 compatible if I understand correctly. No need to buy A MAC
App built with b4i 10 dont run on my ios 15.8 device.
You only need to update the B4i to v10.0 to use the new Bridge and Hosted builder 1 and 3 which is iOS 26 compatible if I understand correctly. No need to buy A MAC
I build the new b4i bridge with 10.0, but it dont run on an ios 15.8 device.
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
App built with b4i 10 dont run on my ios 15.8 device.

I build the new b4i bridge with 10.0, but it dont run on an ios 15.8 device.
When you built your bridge did you scan the QR code with the phone camera and the a page came up with a big button Install App?
What happened when you click on this button? Does it ask you if you want to install it?

The reason I'm asking is this - when I click on this button - nothing happens at all. I see that but was clicked but the question doesn't show up. https://www.b4x.com/android/forum/threads/b4i-bridge-is-no-longer-available.169353/#post-1037884
 
Upvote 0

kohlenbach

Member
Licensed User
When you built your bridge did you scan the QR code with the phone camera and the a page came up with a big button Install App?
What happened when you click on this button? Does it ask you if you want to install it?

The reason I'm asking is this - when I click on this button - nothing happens at all. I see that but was clicked but the question doesn't show up. https://www.b4x.com/android/forum/threads/b4i-bridge-is-no-longer-available.169353/#post-1037884
the bridge was installed, because i could watch the icon was showing the installation.
 
Upvote 0
Top