iOS Question Crash during B4i compilation (hosted) missing files?

noega33

Member
Licensed User
Longtime User
Hello,
Crash with following error messages
*******************************************************
Error: ** BUILD FAILED **
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.h:4:9: error: 'iSD_XUI_View3D.h' file not found (in target 'B4iProject' from project 'B4iProject')
The following build commands failed:
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_swiftbutton.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_spinner.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_spinner.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
(3 failures)
***********************************************************
I guess that I found the issue: iSD_XUI_View3D file missing in framework
After recent server update (Xcode 26.0 / iPhoneOS 26.0 SDK), build fails with iSD_XUI_View3D.h file not found.

This happens also for:
b4i_xuiviewsutils,
b4i_swiftbutton
b4i_spinner
This was working before the server update.

Are these files missing from the new server?
 
Solution
The error still comes from: iSD_XUI_View3D

It looks like you are using the old library. Make sure that there isn't a copy of the library in the internal libraries folder and try to restart the IDE.

noega33

Member
Licensed User
Longtime User
I tried a new recompile with same code, and now I've 6 errors (used to be 4 errors)

Error: ** BUILD FAILED **


The following build commands failed:
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_spinner.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_spinner.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_roundslider.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_roundslider.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_swiftbutton.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_scrollinglabel.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_scrollinglabel.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
(6 failures)
 
Upvote 0

noega33

Member
Licensed User
Longtime User
Sorry Erel,
There is something that I don't get: The files we are talking about seam to be files that are needed by your server/system.
I guees that you should know if they ere missing or not.
Again: My file was properly compiling before. What di change from your end?
 
Upvote 0

noega33

Member
Licensed User
Longtime User
"Hi Erel,
As the hosted builder does not seem to work, I need the B4i-Builder compatible with Xcode 15.4 and macOS 13 Ventura (Intel).
Could you please send me the download link?
Thank you."
 
Upvote 0

noega33

Member
Licensed User
Longtime User
Hi Erel,
Very "professional"=> I will try to explain for the last time...
I will also try to explain for the x time... :)
1) I had an app that was compiling properly (hosted) up until recently, same app, no change stop compiling => Why?
2) For info, the library that seems to be causing problem is attached=> https://www.b4x.com/android/forum/threads/bax-xui-sd-xui_view3d.94809
3) I was requesting a B4i-Builder compatible with macOS 13 Ventura (Intel) in order to try to compile locally (or just tell me that all builders are compatible with all iOS versions)
 

Attachments

  • iSD_XUI_View3D.h
    7 KB · Views: 6
  • iSD_XUI_View3D.xml
    24.5 KB · Views: 7
Upvote 0

noega33

Member
Licensed User
Longtime User
As I cannot wait, without progressind, I tried again to setup the local builder:
My configuration is as follows:
MacOS: Venture 13.7.8
jdk19.0.1
Xcode 15.0.1
I have regenerated cert and provision files, everything is progressing, but I'm stuck with the following errors (my local B4iBuildServer Libs folder only contains .a files (old format?). Xcode 15 maybe needs .xcframework files)
****************************
B4i Version : 10.00
Analyse du code. (0.23s)
Building folders structure. (0.10s)
Exécution d'une action personnalisée. (0.08s)
Compilation du code. (0.91s)
Compilation du code des layouts. (0.02s)
Compilation du code du débogueur. (0.03s)
Etablissement du projet Xcode. (0.18s)
C++ libraries found
Préparation du projet pour le générateur (0.25s)
Taille du projet: 1.81 MB
Envoi de données au 'Remote Compiler'. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=iPaRformer CONFIGURATION_BUILD_DIR=/Users/test/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Developer: Augustin Garcia (57Y88B93D3)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=9f213147-6207-4eb1-824c-e6c7576f7f78 -arch arm64

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Developer: Augustin Garcia (57Y88B93D3)
CONFIGURATION_BUILD_DIR = /Users/test/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = iPaRformer
PROVISIONING_PROFILE = 9f213147-6207-4eb1-824c-e6c7576f7f78

note: Using codesigning identity override: iPhone Developer: Augustin Garcia (57Y88B93D3)
ComputeTargetDependencyGraph
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
note: Target dependency graph (1 target)
Target 'B4iProject' in project 'B4iProject' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription
Build description signature: 4f58cf6628fb1c5e934be65f6154ae6b
Build description path: /Users/test/Documents/B4iBuildServer/UploadedProjects/<user id>/build/XCBuildData/4f58cf6628fb1c5e934be65f6154ae6b.xcbuilddata

error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iBLE.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iCore.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iRandomAccessFile.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iXUI.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iXUI2D.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/xCustomListView.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iBitmapCreator.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iCore.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iXUI.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iDateUtils.xcframework'. (in target 'B4iProject' from project 'B4iProject')
error: There is no XCFramework found at '/Users/test/Documents/B4iBuildServer/Libs/iDebug2.xcframework'. (in target 'B4iProject' from project 'B4iProject')

Error: 2026-03-30 14:38:08.695 xcodebuild[6745:557332] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
Details: createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread: <_NSMainThread: 0x600002a9c040>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2026-03-30 14:38:08.695 xcodebuild[6745:557332] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
Details: createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread: <_NSMainThread: 0x600002a9c040>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
******************* Truncated error message***********************************
 
Upvote 0

noega33

Member
Licensed User
Longtime User
Thank Erel, but nothing changed
FYI: other compilations (B4i) worked today with Hosted Builder

I guess that the real problem is linked to missing libraries (that used to there) from your end.
here is my last error message from the hosted compiler:

B4i Version : 10.00
Analyse du code. (0.21s)
Building folders structure. (0.11s)
Exécution d'une action personnalisée. (0.08s)
Compilation du code. (0.81s)
Compilation du code des layouts. (0.02s)
Compilation du code du débogueur. (0.03s)
Etablissement du projet Xcode. (0.19s)
C++ libraries found
Préparation du projet pour le générateur (0.62s)
Taille du projet: 1.81 MB
Envoi de données au 'Remote Compiler'. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=iPaRformer CONFIGURATION_BUILD_DIR=/Users/ereluziel/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Developer: Augustin Garcia (57Y88B93D3)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=da0b2ea7-12ec-414a-b087-f3a7b4216844 -arch arm64

Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Developer:XXX
CONFIGURATION_BUILD_DIR = /Users/ereluziel/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = iPaRformer
PROVISIONING_PROFILE = da0b2ea7-12ec-414a-b087-f3a7b4216844

note: Using codesigning identity override: iPhone Developer: XXX
ComputePackagePrebuildTargetDependencyGraph

Prepare packages

CreateBuildRequest

SendProjectDescription

CreateBuildOperation

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'B4iProject' in project 'B4iProject' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -x objective-c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -x c -c /dev/null

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --print-asset-tag-combinations --output-format xml1 /Users/ereluziel/Documents/UploadedProjects/<user id>/Images.xcassets

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/usr/bin/actool --version --output-format xml1

ExecuteExternalTool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details

Build description signature: f8cd4a841908059df757cb015c08f128
Build description path: /Users/ereluziel/Documents/UploadedProjects/<user id>/build/XCBuildData/f8cd4a841908059df757cb015c08f128.xcbuilddata
CreateBuildDirectory /Users/ereluziel/Documents/UploadedProjects/<user id>/build
cd /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj
builtin-create-build-directory /Users/ereluziel/Documents/UploadedProjects/<user id>/build

CreateBuildDirectory /Users/ereluziel/Documents/UploadedProjects/<user id>/Payload
cd /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj
builtin-create-build-directory /Users/ereluziel/Documents/UploadedProjects/<user id>/Payload

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX TRUNCATED XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Error: ** BUILD FAILED **


The following build commands failed:
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_swiftbutton.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_scrollinglabel.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_scrollinglabel.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_spinner.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_spinner.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_roundslider.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_roundslider.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_madewithlove.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_madewithlove.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_copyonwritelist.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_copyonwritelist.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
ScanDependencies /Users/ereluziel/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_copyonwritemap.o /Users/ereluziel/Documents/UploadedProjects/<user id>/B4iProject/b4i_copyonwritemap.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
(9 failures)
 
Upvote 0

noega33

Member
Licensed User
Longtime User
"Hi Erel, progress!
iSD_XUI_View3D.h is now found but it fails on the first line: iSD_XUI_View3D.h:1:9: error: 'iCore.h' file not found
The file iSD_XUI_View3D.h contains: #import "iCore.h" #import "iXUI.h" #import "iBitmapCreator.h"
It seems iSD_XUI_View3D.h was uploaded in a different folder than iCore.h.

Could you check the include paths?"
thank you
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

noega33

Member
Licensed User
Longtime User
I updated my library, and I checked that (<XCFramework>true</XCFramework>) was present in the XML file.
I compiled and always got the same error => error: 'iCore.h' file not found (in target 'B4iProject' from project 'B4iProject')
This same error is repeated 7 times => 7 failures
So, somehow, it seems that this iCore.h is missing somewhere
 
Upvote 0

noega33

Member
Licensed User
Longtime User
I guess that it was not pointing to the right folder
I removed, re-installed the IDE (not just closed/open)
Now it's compiling on the hosted builder. => Thank you Erel

But as I'm still struggling to install my local builder:

My configuration is as follows:
MacOS: Venture 13.7.8
jdk19.0.1
Xcode 15.0.1 (I cannot install another more recent Xcode)
Is the B4iBuildServer.zip you sent me working with this configuration?
 
Upvote 0
Top