Minggu, 17 Maret 2019

Why does my empty iOS single view app project crash?

I created a new iOS project based off of Xcode's Single View iOS app template and was very surprised to find that adding a label and 4 basic constraints for the top, right, bottom, left position results in an immediate launch crash.

There is literally nothing else in the project, it is empty, I'm curious what is going on, has anyone else experienced something like this or am I missing something obvious?

Assertion failure in -[UIView _nsis_center:bounds:inEngine:forLayoutGuide:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3698.93.8/NSLayoutConstraint_UIKitAdditions.m:3588 2019-03-13 09:59:07.873433-0600 test[5480:349128] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error in compatibility flow'

enter image description here



from Why does my empty iOS single view app project crash?

Why does my empty iOS single view app project crash? Rating: 4.5 Diposkan Oleh: Admin

0 komentar:

Posting Komentar

Popular Posts