m1entus / MZFormSheetPresentationController

MZFormSheetPresentationController provides an alternative to the native iOS UIModalPresentationFormSheet, adding support for iPhone and additional opportunities to setup UIPresentationController size and feel form sheet.
MIT License
973 stars 146 forks source link

Does not compile when included as a framework dependency #83

Closed Iron-Ham closed 8 years ago

Iron-Ham commented 8 years ago

When including this pod as a dependency of a framework, which is imported into the main project, these errors occur:

MZFormSheetPresentationController/MZFormSheetPresentationController/MZFormSheetPresentationViewController.h:29:9: error: include of non-modular header inside framework module 'MZFormSheetPresentationController.MZFormSheetPresentationViewController'
error: could not build Objective-C module 'MZFormSheetPresentationController'
MZFormSheetPresentationController/MZFormSheetPresentationController/MZFormSheetPresentationController.h:27:9: error: include of non-modular header inside framework module 'MZFormSheetPresentationController.MZFormSheetPresentationController'
danielborges93 commented 8 years ago

@heshamsalman look at this issue from cocoapods https://github.com/CocoaPods/CocoaPods/issues/5286 It can solve your problem.