CollectionView sizeForItemAtIndexPath never called
You need to specify that you implement the protocol UICollectionViewDelegateFlowLayout
in your class declaration.
class PhrasesCompactCollectionViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout
I had the same problem. The one thing that helped me was to make the 'Estimated Size' for the Cell Size under the collectionView size inspector 'None'.