Hi,
I'm having some issue with Xcode8 that I wasn't having with Xcode7... I have a modified version of BSimagePicker Pod and the BSimagePicker-Swift.h is generated like this:
@class PHAssetCollection;
@class PHAsset;
@class NSCoder;
@class UIColor;
@class UIBarButtonItem;
@class UIButton;
@class UIViewController;
@class NSBundle;
/*
BSImagePickerViewController.
Use settings or buttons to customize it to your needs.
*/
SWIFT_CLASS("_TtC13BSImagePicker27BSImagePickerViewController")
@interface BSImagePickerViewController : UINavigationController
/*
Want it to show your own custom fetch results? Make sure the fetch results are of PHAssetCollections
\param fetchResults PHFetchResult of PHAssetCollections
*/
- (nonnull instancetype)initWithFetchResults:(NSArray<PHFetchResult<id> *> * _Nonnull)fetchResults;
showing error unknown type name PHFetchResult on line 20 and also to get rid of "<id>" from that line
If I add @class PHFetchResult; on the top and take out the "<id>" and build again the project works just fine. The thing is everytime I clean a build again the BSimagePicker-Swift.h is regenerated with those errors. So when I try to create an Archive from it it always fails...
Anyone knwo how to get around this?
Thanks in advance