iOS Question ios Simulator with B4i V10 local builder and xcode 26

Alexander Stolte

Expert
Licensed User
Longtime User
I downloaded the beta version of B4i V10, updated Xcode to 26, and updated the local builder.
Now I get the following error when compiling:

B4X:
ld: warning: object file (/Users/astolte/Nextcloud/StolteX/B4iBuildServer/UploadedProjects/<user id>/Payload/iDateUtils.framework/iDateUtils[arm64][3](b4i_dateutils.o)) was built for newer 'iOS-simulator' version (26.0) than being linked (16.0)
ld: warning: object file (/Users/astolte/Nextcloud/StolteX/B4iBuildServer/UploadedProjects/<user id>/Payload/iJSON.framework/iJSON[arm64][3](iJSON.o)) was built for newer 'iOS-simulator' version (26.0) than being linked (16.0)
ld: building for 'iOS-simulator', but linking in object file (/Users/astolte/Nextcloud/StolteX/B4iBuildServer/Libs/KSCrash.framework/KSCrash[arm64][3](Context.o)) built for 'iOS'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is this a simulator problem or am I missing library updates?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
KSCrash.framework is not compatible with the simulator (for now at least).

You should add it based on the platform:
B4X:
#if Not(SIMULATOR)
#AdditionalLib: KSCrash.framework.3
#AdditionalLib: MessageUI.framework
#AdditionalLib: SystemConfiguration.framework
#AdditionalLib: libc++.dylib
#AdditionalLib: libz.dylib
#End If
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…