I'm currently creating the 3 xcframeworks A, B, C and a Group xcframework (configured to manual) which groups them, let's call it D. A, B and C are properly configured with the following settings:
MAKE_MERGEABLE = YES;
MERGEABLE_LIBRARY = YES;
OTHER_LDFLAGS = (
"-ObjC",
);
The problem comes when I try to initialise a UIStoryboard via code, it fails because it can't be found.
let storyboard = UIStoryboard(name: "MyStoryboard", bundle: Bundle(for: NSClassFromString("A.Class")!))
The error it is raising is:
Could not find a storyboard named 'MyStoryboard' in bundle NSBundle </some_path/Sample.app>
Also, if I try to search for a specific file (such as a json) with the same structure Bundle(for: NSClassFromString("A.Class")!) it is not able to get any file.
Points to note
Xcode version 15 beta 1.
Bundle(for: NSClassFromString("A.Class")!) returns a valid bundle path