QBImagePicker
QBImagePicker copied to clipboard
'Could not find a storyboard named 'QBImagePicker' when creating QBImagePickerController
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'QBImagePicker' in bundle NSBundle
Users/username/Library/Developer/Xcode/DerivedData/appName-abmmhiarfqtmhtesxwokvxanzrir/Build/Products/Debug-iphonesimulator/FrameworkName.framework
(loaded)'
*** First throw call stack: ( 0 CoreFoundation 0x0000000112e43f45 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x00000001128badeb objc_exception_throw + 48 2 UIKit 0x000000010eb8b159 -[UIStoryboard name] + 0 3 BreezyKit 0x0000000111de92bd -[QBImagePickerController setUpAlbumsViewController] + 109 4 BreezyKit 0x0000000111de9174 -[QBImagePickerController init] + 1092 5 TurboChat 0x000000010dfba5cd -[CreationImagesViewController rightToolBarItemPressed:] + 61
Hello, I also have this issue but only on iPad Pro (Device & Simulator). I've tried to fix it on a fork, but I don't know what's causing it...
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'There doesn't seem to be a valid compiled storyboard at path '/Users/zzz/Library/Developer/CoreSimulator/Devices/3D79E5AF-1E54-4517-A8B9-A1AA33B2032D/data/Containers/Bundle/Application/434B073D-23E3-4074-8205-BAE126FB3DC9/zzz.app/QBImagePicker.bundle/QBImagePicker.storyboardc''
*** First throw call stack:
(
0 CoreFoundation 0x0000000112af2f45 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001165bddeb objc_exception_throw + 48
2 UIKit 0x00000001154f3159 -[UIStoryboard name] + 0
3 zzz 0x0000000110755cad -[QBImagePickerController setUpAlbumsViewController] + 109
4 zzz 0x0000000110755b68 -[QBImagePickerController init] + 1096
Same here with 2.5.2 on iOS 9.1. Seems to have to do with the use of Size Classes in this storyboard. When I deactivate that checkbox, it does not crash anymore.
Facing Same Issue When using Ipad Simulator.
@Maxatma @legranddamien @fabb @badalpub1991 Do you use any package manager like CocoaPods to install this library?
I'm just wondering if this is happened due to the NSBundle *assetBundle
property which I've added for supporting asset bundle of CocoaPods.
I install it via cocoapods. I guess it has something to do with my deployment target being iOS 7.1 which somehow does not support the necessary features of size classes. Maybe also important: I present it in a popover.
@fabb Thanks.
Yes it seems to be a problem of Size Classes support. But I'm wondering why it's caused on iPad Pro. I think only the latest iOS runs on iPad Pro and Size Classes must be supported.
Maybe due to deployment target 7, the storyboard is being compiled differently, as iOS 7 only supports a subset of size classes? The issue happens for me on iOS 9.1 with iPad Air 2 simulator.
I see. I'll disable the Size Classes feature.
有解决方案不??????你们说了这么多!!!!!!!!!求解!!11
same issue for me. I can't use them in ipad.
There doesn't seem to be a valid compiled storyboard at path '/var/mobile/Containers/Bundle/Application/E5F5C196-5D78-41B2-A82E-60761F17D116/HocVui.app/QBImagePicker.bundle/QBImagePicker.storyboardc''
In my case I could keep size classes, the problem was having a Project with 7.1 target and "Build for iOS 8.0" on QBImage Storyboard.
I solved similar problem for gtm_oauth2's GTMOAuth2ViewTouch.xib. Just added link to it in main project and the problem resolved
I tried same work for QBImagePicker.storyboard, but problem was still occured. Then I tried to compare other pod framworks, and I realized QBImagePickerController.framework does not contain QBImagePicker.Storyboard even though the Project has it. For some hour I had tried to reinstall, clean and build many times but the problem was not solved
But I found one solution by googling -http://stackoverflow.com/questions/14598917/could-not-find-a-storyboard-named-storyboard-storyboard-in-bundle-nsbundle
##################################################################
- Goto your Pod Project
- Find and click QBImagePickerController/Resources/QBImagePicker.storyboard.
- Then check on 'QBImagePickerController' in Target Membership at The File inspector(first tab of alt + command + 0)
- Build and run ##################################################################
After check on 'QBImagePickerController' in Target Membership, I can find QBImagePicker.storyboardc in QBImagePickerController.framework
But I don't know why QBImagePickerController is not checked and QBImagePickerController-QBImagePicker is checked.
What is QBImagePickerController-QBImagePicker? Did I have something wrong? I just launched 'pod update' and 'pod install'