I'm trying to debug my app, but when I run it through Xcode, I get a crash saying -[UICollectionView _dequeueReusableViewOfKind:withIdentifier:forIndexPath:viewCategory:] This happens in cellForItemAtIndexPath: for the collection view, but it only happens when I'm debugging, if I install the app and run it without Xcode it works fine. 
this is my code:
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
    FFSIncidentCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:reuseIdentifier forIndexPath:indexPath]; 
    // Configure the cell 
    ...
}