- changed status to resolved
UIView subclass not recognized when defined in CocoaPods (another project) and triggers XIB Reference to unknown class fatal error
Issue #16
closed
In projects with CocoaPods that have UIView subclasses, the rule XIB Reference to unknown class is triggered. To reproduce:
- Create a project with Storyboard
- Add CocoaPods
- Add Pod that is a subclass of UIView
- Use this class on Storyboard view
- App builds and works
- Adding Faux Pas will fail build, because: XIB Reference to unknown class
Comments (3)
-
repo owner -
reporter Okay, but why would I need that object selected, if Xcode builds the project before running Faux Pas script automatically?
-
repo owner - changed status to closed
Fixed in 0.9.8 (a confirmation of this being fixed would be appreciated.)
- Log in to comment
Thanks for reporting this. Faux Pas has the capability to find exported classes from
libPods.a
, but this requires the “build project before checking” option to be enabled. However, there are some bugs in the latest version that prevent this feature from working correctly in the typical case oflibPods.a
. This should now be fixed for the next release.