My project builds and runs properly but crashes when going into the detail view. If I comment out the code that sets up the imageView constraints it works properly. I can’t for the life of me figure out why! I’ve compared my code against the one provided in Solutions and nothing seems to be incorrect. I’ve even tried using the xib from the Solutions and it still crashes:
2014-06-18 14:45:11.748 Homepwner[86124:60b] *** Assertion failure in -[NSLayoutConstraint constant], /SourceCache/Foundation_Sim/Foundation-1047.25/Layout.subproj/NSLayoutConstraint.m:601
2014-06-18 14:45:11.756 Homepwner[86124:60b] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘(null)’
Any suggestions on where to start looking for this error would be greatly appreciated.