Thanks for the hint , now I can open the generated XCode project and try to build the B4I app.
(I'm using Builder 6.01 and XCode 11.3)
Surely not related to anything of this, but I must add Architectures to the project (when opening the XCode project, only supports armv7)
Once this is done, the project compiles and deploys to target, but can't be run because of this error
Spoiler
Details
Could not launch “B4iProject”
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: iPhone has denied the launch request.
Internal launch error: process launch failed: failed to get the task for process 6176
--
process launch failed: failed to get the task for process 6176
Domain: IDEDebugSessionErrorDomain
Code: 3
--
, so I must Edit the schema to "Ask on launch", and then I can see some logs.
The framework is linphone, which uses other related frameworks. They are automatically added to the project when installing the pod
At this moment the (narrowed down) wrapper only exposes a couple of test methods not related to linphone, but the frameworks are anyhow added to the project with cocoapods. Also tried (according to some SO answers, but not sure of what I was doing) to add linphone framework to the Target Build Settings, both in "Compile Sources" and "Link Binary with libraries" just to see if results change.
The error I get in all cases is (Frameworks have also been added to the Builder's Libs folder):
Spoiler
dyld: Library not loaded: @rpath/linphone.framework/linphone
Referenced from: /var/containers/Bundle/Application/D2AD44E7-55A1-4C4D-98F3-57B344ED5B12/B4iProject.app/B4iProject
Reason: image not found
I followed the same reasoning for other projects involving other frameworks, but this time the result is different.