Xcode 11.2 and XIBs With UITextView
Xcode 11.2: NSInvalidUnarchiveOperationException. Oh boy.
Xcode 11.2 seems to cause havoc if you have XIBs which contain UITextViews. Beware!
This is really bad year for devtools at Apple
One more reason not to use Interface Builder.
DEAD_CODE_STRIPPING = NO
seems to fix it for the moment.
Previously:
Update (2019-11-05): Thomas Ricouard:
Xcode 11.2 retail fail to decode
UITextView
from Xib/Storyboard on any iOS lower than iOS 13.2.
PSA: do not submit builds with Xcode 11.2 or you will have huge numbers of crashes on iOS releases older than 13.2. We luckily just hit this in our CI rather than in production.
#Xcode11.2.1 GM Seed is out!
[…]
To be clear, the
UITextView
issue is fixed for iOS and tvOS. It’s still an issue on macOS.
Update (2019-11-07): Paul Haddad:
Cool, deprecate the current version without releasing the new version to the App Store…
Update (2019-11-26): drunknbass:
Looks like Xcode 11.2 changes the way UIAlertControllers present on iPad. Now they are popovers. Popovers require additional APIs
Hope you have tests 🥶
Quite simple: due to this known issue, this Xcode version is simply considered banned from Apple, so that you can’t distribute apps compiled with this setup.
Where is the Xcode update on the Mac App Store? Seriously Apple, it's been a whole week since you banned store submissions from the MAS version of Xcode. How is this OK?
The UITextView bug caused by Xcode 11.2 still seems to occur with Xcode 11.2.1 for users still on iOS 13.1.x.
Update (2019-11-27): Raphael Sebbe:
Seeing stalls (minutes long), and random Xcode crashes while doing nothing (background, not building).
Started with Xcode 11.2 and 11.2.1, occurs a few times per day. Was fine before.