Closed edasque closed 7 years ago
I have an issue with the storyboards, xibs, and xcassets
Explique?
With cocoapods, I need to add this static resources in a bundle. I have try several things without success for the moment.
I added this line to my podspec :
s.resource_bundles = { 'Dotzu' => ['Dotzu/*.xcassets', 'Dotzu/*.storyboard', 'Dotzu/*.xib'] }
On the pods I can see the different files. But impossible to call them programmatically.
Maybe https://github.com/Cosmo/TinyConsole does something similar?
No the framework doesn't have any storyboards of images. It's probably a very bad idea to had storyboards, xibs, and images in a framework.
But what if you have to ? For example can create a framework with specific UI and assets you can share between your apps.
Fixed with the version 0.6. Thanks again for reporting the issue.
Hi,
I added Dotzu (0.1) via CocoaPods & inserted Dotzu.sharedManager.displayWindow() to the AppDelegate didFinishLaunchingWithOptions method. A black disc appears when running the app on a device and clicking it causes an immediate crash (or at least, it goes back to the Springboard).
Error follows. It seems to be missing a storyboard, maybe something that's not included in the CocoaPod? Bonne chance.