ca-archived / iOS-NBUImagePicker

Modular image picker with Simulator-compatible AVFondation camera, assets library, filters and more.
http://cyberagent.github.io/iOS-NBUImagePicker
Apache License 2.0
193 stars 48 forks source link

Getting Couldn't load Nib named: NBUImagePickerController #1

Closed poojanjhaveri closed 10 years ago

poojanjhaveri commented 10 years ago

Hi I am getting Couldn't load Nib named: NBUImagePickerController when i call..

[NBUImagePickerController startPickerWithTarget:self options:NBUImagePickerOptionStartWithCamera nibName:nil resultBlock:^(NSArray * mediaInfos) { }];

rivera-ernesto commented 10 years ago

The NBUImgePicker.bundle (and thus the NBUImagePickerController's Nib inside) is not getting copied to your target.

2014-02-17 11 17 28

2014-02-17 11 21 08

poojanjhaveri commented 10 years ago

Hey,

Thanks for replying but I did figure out my problem.In the readme file, it does not say how to include the entire NBUImagePicker and not individual components. So up till now i was adding all the individual components through cocoapods and somehow in that NBUImagePickerBundle does not load or is not added. (please check into that).

Later I realized that I could add the entire package through pod 'NBUImagePicker' and that worked like a charm. So yes not adding bundle properly was an issue. Thanks for this wonderful library and response.

rivera-ernesto commented 10 years ago

I see. Adding individual components should also add the resources bundle when needed. I'll fix that.

Thank you for using it!