Created attachment 4189 [details]
Error from the
Creating a binding project for InfColorPicker (https://github.com/InfinitApps/InfColorPicker).
I've created a static lib for the Objective-C parts and I am trying to create a Xamarin.iOS binding for the project. The .XIB is not compiled into the static library, so I tried to add it to the Xamarin.iOS binding project. This seems to have no effect. iOS cannot load the NIB file. See the attachment error.txt for the exception that is thrown.
The workaround seems to be to add the XIB files to the Xamarin.iOS application project.
Created attachment 4191 [details]
Application showing the problem.
Sample project demoing the problem.
I can still reproduce this issue, I updated the test case to unified.
Created attachment 20045 [details]
Test Case (Update for Unified APIs)
*** Bug 55522 has been marked as a duplicate of this bug. ***
@Jeff/@Vincent do we have plans to fix this issue?
Hello Thanks for contacting us, this is a dupe of bug #12851.
That being said a workaround for this is that you manually compile storyboards to storyboarc and add them to Resources folder in the binding project. using ibtool you can compile them.
ibtool --output-format human-readable-text --compile MyStoryboard.storyboardc MyStoryboard.storyboard
I sucessfully managed to load storyboard in my app from binding library by referencing manually compiled storyboard resource file but it goes with another problem.
Storyboard comes from a Swift Framework (I am aware that it is not officially supported, but it is possible by working with Framework-Swift.h) and referencing such framework in Binding Library results in creating SwiftName attributes in ApiDefinition like this :
Name = "_TtC15NPUIPlayerTheme24FrameworkViewController"
Obviusly from my code i see this classes as normally named FrameworkViewController, but... when i try to instantiate ViewController from referenced in this way framework it ends with:
Unknown class _TtC15NPUIPlayerTheme24FrameworkViewController in Interface Builder file.
Is there any possible way to workaround this issue? It is crucial for me to use this framework.