iOS Question Framework Error B4i v10.0

gglaz

Member
Licensed User
Longtime User
Hello,
I'm using the AusweisSDK (ID card SDK) in B4i 8.9, BuildServer version 9.20, and Xcode 16.
In my project, I've included it via #AdditionalLib: AusweisApp2.swift,framework.3.
The folders AusweisApp2.framework and AusweisApp2.xcframework are located in the "Libs" directory on my local Mac.

With Xcode 26, B4i 10, and BuildServer version 10, I get the following error: The header file "AusweisApp2-Swift.h" was not found in the framework "AusweisApp2" (loaded from "../../Libs").

What do I need to change?

The zipped folders of the frameworks are too large to upload here, so they are linked as Dropbox links.
AusweisApp2.framework.zip
AusweisApp2.xcframework.zip
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The folders AusweisApp2.framework and AusweisApp2.xcframework are located in the "Libs" directory on my local Mac.
You should only have one of them.
And it should be under Libs\Extra.

In most cases the header isn't really needed and you can then reference the library with:
B4X:
#AdditionalLib: AusweisApp2.swift,framework.3.noheader
 
Upvote 0

gglaz

Member
Licensed User
Longtime User
Hello,

Thank you so much for always responding so quickly and helpfully.

#AdditionalLib: AusweisApp2.swift.framework.3.noheader:
and deleting AusweisApp2.xcframework and moving AusweisApp2.framework to Extra is the solution.

The AusweisApp2.xcframework folder is causing further errors. I think this is probably due to the folder structure for the different architectures. But it works with AusweisApp2.framework :)

Could you also add the AusweisApp2.framework folder to the hostedbuilder? That would be fantastic.
 
Last edited:
Upvote 0
Top