-
Re: app crashes updating to Xcode 11.2 from 11.1
yo_asakura Oct 31, 2019 4:49 PM (in response to shirefriendship)Same here! It happens in iOS 11.0.1 when I test. No problem on iOS 13. I think there's something to do with UITextView. The app crashes only when I try to open a screen with a TextView. The TextView is added via Storyboard. No problems if I add it via code.
-
Re: app crashes updating to Xcode 11.2 from 11.1
merlyn4u Oct 31, 2019 6:00 PM (in response to yo_asakura)I'm getting the same error when I upgraded to Xcode 11.2 (11B52) and try to access a view that have a Text View. The Text View was created in Interface Builder. My app run just fine on the iOS Simulators though. A solution to this problem will be greatly appreciated. Until then I'm unable to test the Text View's code on my physical devices.
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
Insleep Oct 31, 2019 5:57 PM (in response to shirefriendship)Having the same issue here. Works on iOS 13, crashes on iOS 12 and below.
-
Re: app crashes updating to Xcode 11.2 from 11.1
KMT Oct 31, 2019 6:07 PM (in response to shirefriendship)Would be interesting if someone on this thread did a computer restart to see if it helps this issue...
-
Re: app crashes updating to Xcode 11.2 from 11.1
Faydee1220 Oct 31, 2019 7:48 PM (in response to KMT)After restart Mac still crash...
I found that if I use real device with iOS 13.1.3, it will crash.
But if I use another real device with iOS 13.2, it can work.
-
Re: app crashes updating to Xcode 11.2 from 11.1
KMT Oct 31, 2019 7:39 PM (in response to Faydee1220)Thanks
-
Re: app crashes updating to Xcode 11.2 from 11.1
xiondotstore Nov 5, 2019 10:21 AM (in response to Faydee1220)This is true for me as well.
-
Re: app crashes updating to Xcode 11.2 from 11.1
oleg48 Nov 6, 2019 4:11 AM (in response to Faydee1220)This is true for me as well.
-
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
mgrushin Nov 1, 2019 12:32 AM (in response to shirefriendship)Same here.
Crashes on a view with UITextView in hierarchy.
Crashes on every iOS except the latest 13.2.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 1, 2019 12:58 AM (in response to mgrushin)Does it occur on simulator and / or device.
code generated with 11.2 beta2
simulator IOS13.2 (11 Pro)
device iPhone XS 13.1.3
Tested on both simulator and device.
I have several views with UITextField, no crash, not problem detected so far.
Repeated the test with XCode 11.1, on iPhone Xs 13.1.3.
No problem either.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Iinsha Nov 1, 2019 1:05 AM (in response to Claude31)issue is with custom textviews
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 1, 2019 4:53 AM (in response to Iinsha)Custom, you mean subclassed ?
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
luyu001 Nov 1, 2019 1:06 AM (in response to Claude31)UITextView in interface builder
build with Xcode11.2
crash before iOS13.2, both simulator and devices.
-
Re: app crashes updating to Xcode 11.2 from 11.1
mgrushin Nov 1, 2019 4:50 AM (in response to Claude31)It occurs on device and simulator with iOS <13.2. On 13.2 everything is ok.
Built with XCode 11.2 from App Store (11B52)
With 'All Exceptions' breakpoint XCode catches a line where it tries to load a view from .xib which has UITextView as subview (connected as IBOutlet).
Then I get:
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)'
Here's a top of the stack trace:
0 CoreFoundation 0x000000010a71e1bb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x0000000109b3d735 objc_exception_throw + 48
2 CoreFoundation 0x000000010a71e015 +[NSException raise:format:] + 197
3 UIFoundation 0x0000000111abb427 UINibDecoderDecodeObjectForValue + 359
4 UIFoundation 0x0000000111abb854 UINibDecoderDecodeObjectForValue + 1428
5 UIFoundation 0x0000000111abb2b3 -[UINibDecoder decodeObjectForKey:] + 251
6 UIKitCore 0x00000001181aa405 -[UIView initWithCoder:] + 886
7 UIKitCore 0x000000011814d4a6 -[UIScrollView initWithCoder:] + 71
8 UIKitCore 0x0000000118048756 -[UITextView initWithCoder:] + 65
9 UIFoundation 0x0000000111abb5ad UINibDecoderDecodeObjectForValue + 749
10 UIFoundation 0x0000000111abb854 UINibDecoderDecodeObjectForValue + 1428
11 UIFoundation 0x0000000111abb2b3 -[UINibDecoder decodeObjectForKey:] + 251
12 UIKitCore 0x00000001181aa405 -[UIView initWithCoder:] + 886
-
Re: app crashes updating to Xcode 11.2 from 11.1
daya.shankar Nov 13, 2019 3:27 AM (in response to mgrushin)xcode11.2.1, issue is fixed
-
-
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
Godonho Nov 1, 2019 12:45 AM (in response to shirefriendship)same here. what the ??
-
Re: app crashes updating to Xcode 11.2 from 11.1
Iinsha Nov 1, 2019 12:59 AM (in response to shirefriendship)I was using custom textview
class CustomTextView : UITextView, UITextViewDelegate { var textChanged : ((String)->())? init(frame: CGRect) { super.init(frame: frame, textContainer: nil) self.initialize() } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) self.initialize() } }
But is crashing on
aDecoder: NSCoder method
-
Re: app crashes updating to Xcode 11.2 from 11.1
constantinfrompluto Nov 1, 2019 4:07 AM (in response to shirefriendship)This is not related to Swift. I am not using any Swift and it still crashes in the same way.
Time to go back to Xcode 11.1 and wait for 11.2.1
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 1, 2019 4:46 AM (in response to constantinfrompluto)I fear you're right.
May be even have to wait for 11.3.
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
Matoz Nov 1, 2019 4:46 AM (in response to shirefriendship)We are running into the same issue at the moment with Xcode 11.2.
-
Re: app crashes updating to Xcode 11.2 from 11.1
InstantInteractive Nov 1, 2019 4:59 AM (in response to shirefriendship)Everyone experiencing this has filed bugs, right?
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 1, 2019 5:40 AM (in response to shirefriendship)That was a beta ?
Did you try with 11.2 release version ?
-
Re: app crashes updating to Xcode 11.2 from 11.1
uuuuuu Nov 1, 2019 6:22 AM (in response to shirefriendship)same here - crashes on a device running 13.1 but works fine on a device running 13.2
-
Re: app crashes updating to Xcode 11.2 from 11.1
PavelTomorrow Nov 1, 2019 6:35 AM (in response to shirefriendship)You can work around it by making the TextView via code and not using IB. At least worked for me.
But it doesn't look like a nice solution and I would wait for new Xcode release
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 1, 2019 6:59 AM (in response to PavelTomorrow)Does it occur with TextView or TextField or both ?
-
Re: app crashes updating to Xcode 11.2 from 11.1
FunkyMusic Nov 1, 2019 8:09 AM (in response to PavelTomorrow)Creatign the UITextView in code helped me
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
uuuuuu Nov 1, 2019 8:46 AM (in response to shirefriendship)Cant easily switch from storyboard/XIB to code, our storyboard has tons of view that use tons of UITextViews, would take many days to convert that.
Guess my only option will be to downgrade to XCode 11.1 which then of couse has the problem that we can't use our test devices that were already upgraded to 13.2. I was eagerly wating this XCode update since we had already a few devices auto-update to the latest and it took way to long for the XCode update to follow up.
Hope this fix by Apple does not take too long since every workaround screws us in some way.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 1, 2019 8:48 AM (in response to uuuuuu)Do file a bug. The more will report the problem, the higher chance to get it fixed faster.
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
nzhuk Nov 1, 2019 8:51 AM (in response to shirefriendship)We are seeing the same crash after upgrading to XCode 11.2.
The only solution we have found so far is to replace UITextViews with UIViews in XIBs, and add UITextViews into those UIViews at runtime in code.
-
Re: app crashes updating to Xcode 11.2 from 11.1
lgaches Nov 1, 2019 9:33 AM (in response to shirefriendship)Same here happening with UITextView declared in XIBs. Working perfectly on iOS 13.2 and crashing with the previous version. The only workaround I found was to create the UITextView in the viewDidLoad().
-
Re: app crashes updating to Xcode 11.2 from 11.1
wale.schurter Nov 1, 2019 9:57 AM (in response to shirefriendship)I runned in to the same problem with Xcode 11.2.
I runs OK on device iPhone X with iOS 13.2
it crashes for example with Xcode simulator iPhone 6s (10.3.1)
2019-11-01 17:43:51.460 Midi file player[2664:68570] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _UITextLayoutView'
-
Re: app crashes updating to Xcode 11.2 from 11.1
ptsochantaris Nov 1, 2019 10:38 AM (in response to shirefriendship)Same issue here, we're extremely lucky in that this was caught by TF beta users, we would have shipped one big broken update otherwise.
First the release is 4 days late, then it breaks apps, can somebody go to the intern that is working on Xcode right now and take their bong away, please.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Narine Nov 1, 2019 10:48 AM (in response to shirefriendship)We have exactly the same issue, so it seems that new Xcode 11.2.1 is on the way to fix this bug.
-
Re: app crashes updating to Xcode 11.2 from 11.1
AnuOm Nov 1, 2019 12:17 PM (in response to shirefriendship)On iphone with iOS 13.1.3, it will crash. With iOS 13.2, it is fine.
But with xcode 11.1, all devices work fine.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Ryder Nov 1, 2019 12:21 PM (in response to shirefriendship)Verified the crash on iOS 12.4.1. You can temporarily work around the crash by dynamically adding the missing _UITextLayoutView class to the runtime on older versions, but who knows how UITextView will behave after that. Please don't actually ship this "fix".
I've filed feedback report FB7422472 and encourage everyone in this thread to do the same.
-
Re: app crashes updating to Xcode 11.2 from 11.1
yoganista.ch Nov 1, 2019 1:12 PM (in response to shirefriendship)Facing the same problem since I've upgraded to XCode 11.2 (11B52) today, with target iOS 13.0 on iPad Air 2 with version 13.1.3
*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)'
libc++abi.dylib: terminating with uncaught exception of type NSException
-
Re: app crashes updating to Xcode 11.2 from 11.1
shaderlab Nov 1, 2019 3:49 PM (in response to shirefriendship)We found a workaround. Setting DEAD_CODE_STRIPPING = NO in our app’s target fixes the crash. For additional context: https://bugs.swift.org/plugins/servlet/mobile#issue/SR-11564
-
Re: app crashes updating to Xcode 11.2 from 11.1
edford Nov 1, 2019 4:12 PM (in response to shirefriendship)We are aware of this issue. It specifically affects apps with a UITextView in an Interface Builder file when building with Xcode 11.2 and running on earlier iOS versions.
To continue your app's development, you can do one of two things:
- Instantiate your UITextView in code rather than in Interface Builder
- Continue using Xcode 11.1 to build, test, and submit your apps to the App Store. You can download Xcode 11.1 from the More Downloads page.
-
Re: app crashes updating to Xcode 11.2 from 11.1
staninprague Nov 2, 2019 4:06 AM (in response to edford)Recompiled under Xcode 11.1 as I managed to have my Xcode 11.2 compiled app sumitted and approved just a day ago. Now the new build that I sent to AppStore connect is not even showing under the Activity>iOS Builds, even 10 minutes later.
Are Xcode 11.1 builds accepted? Status in Xcode 11.1 for this build is "Uploaded".
-
Re: app crashes updating to Xcode 11.2 from 11.1
InstantInteractive Nov 2, 2019 5:52 AM (in response to staninprague)Xcode will only ever show 'Uploaded' as the final state of a submission. Just revisit itunesconnect and the binary should eventually show up. It's not instant. Sometimes it takes 15 minutes; other times over an hour or even longer.
-
Re: app crashes updating to Xcode 11.2 from 11.1
staninprague Nov 2, 2019 6:03 AM (in response to InstantInteractive)It's been two hours now, still no sign on my uploaded binaries in App Store Connect Activity > iOS Builds. Will try with other apps.
-
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
sdleeke Nov 2, 2019 9:52 AM (in response to edford)Rolled back to 11.1 and got key value coding-compliant error on iOS 12.x that isn't real. Going to roll back to 11.0 and try that.
-
Re: app crashes updating to Xcode 11.2 from 11.1
sdleeke Nov 4, 2019 2:39 AM (in response to edford)Rolling back to 11.0 or 11.1 doesn't help if submitting macOS apps using Catalyst, the _UITextLayoutView crash still occurs.
-
Re: app crashes updating to Xcode 11.2 from 11.1
destryt Nov 4, 2019 9:48 AM (in response to edford)Before attempting to change the app to work around this bug, can we know when a planned fix will be added and an update to xcode will be available?
-
Re: app crashes updating to Xcode 11.2 from 11.1
Smithers Nov 5, 2019 5:56 AM (in response to edford)You're "aware" of the issue? "Aware"? Really? Were you "aware" of it when it was still in beta? No? Why not. We demand an expanation. Why did this get released when you were "aware" of this bug. UITextView is a VERY, very, VERY common UI element, found in a HUGE collection of apps. First our OS won't sit still without kernel panicing, and now this.
We don't want a fix for this. We want Apple to fix everything else that's begining to break apart.
-
Re: app crashes updating to Xcode 11.2 from 11.1
DannyByersII Nov 10, 2019 1:31 PM (in response to Smithers)Completely agree. My app was rejected today because it's crashing on 13.2 during App Review. The only way for me to test on my devices is to upgrade to XCode 11.2. However, from what I'm reading, that would be a monumental mistake. I'd rather keep a stable build out there for the time-being rather than create a situation where everything will be blowing up.
Is there an ETA on this?
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
InstantInteractive Nov 5, 2019 1:19 PM (in response to edford)If Apple is already aware of the issue, where's the dot release of Xcode to fix this? I agree with others that this is a major problem. I have many UITextViews in storyboards and I'm not about the refactor to use code. I imagine numerous others are in the same boat. Also, not being able to use Xcode 11.2 is a major pain. Just today I was unable to debug an issue on my iPhone 11 Pro with iOS 13.2; a combination that Xcode 11.1 doesn't seem to support.
Please fix ASAP. It's far far cheaper for Apple to do an immediate fix then waste developer's time on the so-called workaround. Or, the lost productivity of not being able to move to 11.2.
One of the internal apps I created years ago has a storyboard with every possible type of UI element. I then have tests around this. It's a great way to see what may break between releases. I surely hope Apple has something similar they can run so that bugs like these do not make it to developers.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Yodagama Nov 2, 2019 2:25 AM (in response to shirefriendship)having the same issue
-
Re: app crashes updating to Xcode 11.2 from 11.1
basememara Nov 2, 2019 4:55 AM (in response to shirefriendship)Xcode 11.2 crashes for me too but not for anything storyboard or UIKit related. Finding many are having bad access crashes on Xcode 11.2, including pure Swift Packages. See here for further details and temporary workaround: https://github.com/onevcat/Kingfisher/issues/1330 Xcode 11.2 needs a hot fix! Why would you ship this if this was in beta too?!!?!
-
Re: app crashes updating to Xcode 11.2 from 11.1
emresancaktar Nov 2, 2019 5:33 AM (in response to shirefriendship)same here, it's a bug. Try to init in code rather than storyboard.
-
Re: app crashes updating to Xcode 11.2 from 11.1
s.mojtaba Nov 2, 2019 2:57 PM (in response to shirefriendship)Look at this solution on StackOverflow for this issue. It's working:
-
Re: app crashes updating to Xcode 11.2 from 11.1
dazboj Nov 2, 2019 5:28 PM (in response to shirefriendship)I have UITextView’s in Storyboard and it’s not crashing for me using Xcode 11.2 on an iOS 12.4 device! I’ve had a build approved and not sure whether to release it or not
♂
-
Re: app crashes updating to Xcode 11.2 from 11.1
staninprague Nov 2, 2019 11:34 PM (in response to dazboj)I wonder if there is any chance Apple is able to fix the UITextview unarchiving issue when "recompiling" the app from the bitcode. Processing of the builds is taking enourmous time right now. My UITextviews were crashing and I recompiled with 11.1. Waited for 5 hours for the "processing" on the App Store Connect side. I added a review note on why I'm submitting a new version just a day later. It took Apple 5! minutes to take to app into Review and 5! minutes to review it. So this is my story to help you decide .
-
Re: app crashes updating to Xcode 11.2 from 11.1
dazboj Nov 4, 2019 10:00 AM (in response to staninprague)It turns out that although it didn’t crash during my tests, I see crash reports from the App Store. I’ve just downloaded Xcode 11.1 to resubmit.
-
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
ykphuah Nov 4, 2019 6:26 AM (in response to shirefriendship)I have a similar but different issue? Works well on iOS and macOS when run from xcode. However, when I try to submit my macOS to appstore, the reviewer give me this crash log
Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found
-
Re: app crashes updating to Xcode 11.2 from 11.1
neo303 Nov 4, 2019 6:31 AM (in response to shirefriendship)Same for us! Creating controls in code is no solution/workaround for us. We need a fix in XCode for this.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 4, 2019 9:57 AM (in response to neo303)Sure we all need, more or less desperately.
Hope that comes with 11.3.
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
destryt Nov 4, 2019 5:36 PM (in response to shirefriendship)For those who don't want to downgrade Xcdoe I found a good workaround on Stack Overflow:
https://stackoverflow.com/a/58699326/3437712
Shoutout to aftab muhammed khan!
-
Re: app crashes updating to Xcode 11.2 from 11.1
eddieOfBoxtree Nov 4, 2019 8:31 PM (in response to shirefriendship)When will it be edited?
-
Re: app crashes updating to Xcode 11.2 from 11.1
bsevo Nov 5, 2019 3:01 PM (in response to shirefriendship)Looks like Xcode 11.2.1 GM has it fixed.
I don’t understand how Xcode with this kind of bug went out to public.. :/ basic feature, not some crazy new framework etc :/ I would really like to know what happened, how did we get that crash
-
Re: app crashes updating to Xcode 11.2 from 11.1
edford Nov 5, 2019 5:53 PM (in response to shirefriendship)This is addressed in the GM Seed of Xcode 11.2.1. If you are writing a Mac Catalyst app, please also see the release notes for Xcode 11.2.1.
For any other issues you encounter while using Xcode, please file bug reports.
-
Re: app crashes updating to Xcode 11.2 from 11.1
InstantInteractive Nov 5, 2019 5:46 PM (in response to edford)Thank you!
-
Re: app crashes updating to Xcode 11.2 from 11.1
BruceLawton Nov 6, 2019 5:48 AM (in response to edford)I've found the misbehavior in subclasses of UIButton and UITextField, too. Unfortunately, Xcode 11.2.1 doesn't help.
-
Re: app crashes updating to Xcode 11.2 from 11.1
InstantInteractive Nov 6, 2019 11:15 AM (in response to BruceLawton)Make sure to file bugs with these addtional cases.
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
Velvethead Nov 6, 2019 5:53 AM (in response to edford)11.2.1 did not totally solve this crash for me. Same UITextField crash issue on sim running 12.2, but iPhone running 13.2 now ok
-
Re: app crashes updating to Xcode 11.2 from 11.1
Wiz Nov 10, 2019 1:46 AM (in response to edford)about Mac Catalyst, release notes say:
Storyboards containing a
UITextView
will cause the app to crash on macOS versions earlier than macOS 10.15.1 if compiled on a Mac running macOS 10.15.1. (56808566)does it mean that we'll need to wait for Xcode 11.2.2 or something, or that the problem will fix itself when compiling on macOS 10.15.2?
-
Re: app crashes updating to Xcode 11.2 from 11.1
Lucky7 Nov 13, 2019 5:31 AM (in response to edford)If this supposedly fixed in Xcode 11.2.1, then why do I still see crash reports for users running iOS 13.1.x?
> SIGABRT: Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)
I do subclass UITextView (from a Storyboard) but I don't think that could be causing the issue.
-
Re: app crashes updating to Xcode 11.2 from 11.1
edford Nov 13, 2019 10:13 AM (in response to Lucky7)Your app needs to be rebuilt with Xcode 11.2.1 in order for iOS 13.1 and earlier customers to not encounter this crash. Also, those customers may not have updated to your new version that's fixed -- your app's build number at the top of the crash report gives you an indication of which build they are using.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Lucky7 Nov 13, 2019 10:34 AM (in response to edford)> Your app needs to be rebuilt with Xcode 11.2.1 in order for iOS 13.1 and earlier customers to not encounter this crash.
It already is built with Xcode 11.2.1 and yet the crash still occurs for users running iOS 13.1.x.
> Also, those customers may not have updated to your new version that's fixed -- your app's build number at the top of the crash report gives you an indication of which build they are using.
No need to be condencending. I've been developing apps for over 20 years and iOS apps since spring 2008. I know how to read crash reports.
I'm using MS App Center for crash reports (TestFlight often take days before reporting crashes) and they do report that the crashes occur in the latest version of my app, which was build with Xcode 11.2.1.
In fact, DTXcodeBuild in the info.plist reports that build 11B53 was used to build the app.
-
Re: app crashes updating to Xcode 11.2 from 11.1
edford Nov 13, 2019 10:42 AM (in response to Lucky7)I don't mean to sound condescending, I'm sorry you heard it like that. The version number is an important detail that not everyone knows to look at.
Xcode 11.2.1 was released yesterday, with build number 11B500. The GM Seed previously referened by me in other posts on this thread had build number 11B53. Please rebuild with this released build, and if you still continue to get these crashes after that, please open a Feedback Assistant ticket and post the number here so I can follow up on it.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Lucky7 Nov 13, 2019 10:59 AM (in response to edford)> I don't mean to sound condescending, I'm sorry you heard it like that.
No worries.
> Xcode 11.2.1 was released yesterday, with build number 11B500. The GM Seed previously referened by me in other posts on this thread had build number 11B53.
I'll give that a try.
As for GM, once I saw that the crash was occuring, I did what probably every developer out there would do and use the GM version, trusting that it was fixed. Moreover, App Store Connect was happy to accept binaries submitted with GM.
Also, why did it take 7 days before Xcode 11.2.1 hit the App Store? I certainly hope this was just not a marketing thing because of the release of the 16" MacBook Pro and build 11B500 had some new references to it.
Bugs do happen but this lack of communication is bad.
Sorry to be so harsh. Just to make sure, I'm not blaming your personaly. You're probably doing your best and are overworked but something is wrong at Apple right now and I hope management is aware of that.
-
-
-
-
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
NotSure1111 Nov 6, 2019 12:36 PM (in response to shirefriendship)Updating to XCode 11.2.1 did not help with this crash in my particular situation.
As a hail Mary, I deleted each text field and then did "control-Z" to undo the delete. This fixed the crash after watching it crash on XCode 11.2.1 serveral times. To be more specific, I deleted them all, ran the app, added one back at a time using control-Z to see if a particular one was causing it. No crashes so I'm releasing it. Now that we know our testing may not yield the same results when the app is downloaded from the app store, I'll be testing it before the users get to it...hopefully.
I would imagine that by deleting the fields and undoing it, the internals of the text field that were causing the crash were updated to whatever newer stuff likes. If you're about to throw your computer through the window, this might just save you some money for the window and the computer
-
Re: app crashes updating to Xcode 11.2 from 11.1
fmatosic Nov 14, 2019 1:26 PM (in response to NotSure1111)Doing this helped on the 11.2.1 (11B500) and devices with 12.4.1 Installed
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
Norman93 Nov 6, 2019 6:33 PM (in response to shirefriendship)Why apple released xcode with this BUG. S U C K S
-
Re: app crashes updating to Xcode 11.2 from 11.1
The Mentat Assassin Nov 9, 2019 3:45 PM (in response to shirefriendship)In my case, any XIB with a UITextView in it will crash.
I tried the above-mentioned technique of deleting the UITextView, and then immediately undoing the delete: this resolves the issue.
Doing a side-by-side Differences compare of XIBs in BBEdit shows only minor metadata changes in the XIB header--the actual TextView definition is unchanged.
XCode 11.2.1 does NOT fix this issue. I have submitted a bug report to Apple.
This bug is sloppy and unacceptable. Apple needs to fix this.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Claude31 Nov 10, 2019 3:46 AM (in response to The Mentat Assassin)UITextView not fixed in 11.2.1 and may show in subclasses of UIButton as well, is an important information.
It would be worth a new thread stressing that problem not solved in 11.2.1.
-
Re: app crashes updating to Xcode 11.2 from 11.1
edford Nov 11, 2019 12:31 PM (in response to The Mentat Assassin)Can you please post the bug number?
-
Re: app crashes updating to Xcode 11.2 from 11.1
The Mentat Assassin Nov 14, 2019 7:43 PM (in response to edford)FB7438077. I have not tested under 11B500. Will try that tomorrow.
-
Re: app crashes updating to Xcode 11.2 from 11.1
The Mentat Assassin Nov 15, 2019 8:43 AM (in response to The Mentat Assassin)The issue appears to be resolved in 11B500. Yay!
I'll close out the feedback.
-
-
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
Ngoan Nov 10, 2019 5:16 AM (in response to shirefriendship)I'm having the same issue, Xcode 11.2, crashes on device (13.2.1) but works fine on simulator 13.2. It's crashing with FirebaseAuthViewController for me, there is a storyboard and a textview involved.
-
Re: app crashes updating to Xcode 11.2 from 11.1
daya.shankar Nov 13, 2019 3:24 AM (in response to Ngoan)download new xcode 11.2.1, issue is fixes
-
-
Re: app crashes updating to Xcode 11.2 from 11.1
daya.shankar Nov 13, 2019 3:25 AM (in response to shirefriendship)xcode 11.2.1,issue is fixed
-
Re: app crashes updating to Xcode 11.2 from 11.1
fvimagination Nov 13, 2019 4:55 AM (in response to daya.shankar)Downloaded Xcode 11.2.1, on my iOS 13.2.1 it doesn't work, bug not fixed, same issue.
Should I use iOS 13.2.2?
-
Re: app crashes updating to Xcode 11.2 from 11.1
fmatosic Nov 14, 2019 12:30 PM (in response to fvimagination)There is still an issue on Version 11.2.1 (11B500) but on devices with 12.4.1 still getting:
*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)' *** First throw call stack: (0x1a5d9298c 0x1a4f6b9f8 0x1a5c9cbc0 0x1b0431de8 0x1b043216c 0x1b03d1304 0x1d2c8ce70 0x1d2c3b2e8 0x1d2b44d6c 0x1b0431f28 0x1b043216c 0x1b03d1304 0x1d2c8ce70 0x1d2bed188 0x1b0431f28 0x1b043216c 0x1b03d1304 0x1d2c8ce70 0x1d2bed188 0x1b0431f28 0x1b043216c 0x1b03d1304 0x1d2c8ce70 0x1d2c3b2e8 0x1b0431f28 0x1b03d1304 0x1d24e0508 0x1b0431f28 0x1b043216c 0x1b03d1304 0x1d24dddf0 0x1d227926c 0x1d2279c14 0x1d2279ed8 0x1d227a628 0x1d21d7724 0x1d21eb714 0x1d21ecb3c 0x1d21cfd4c 0x1d2cbb170 0x1aa2cfc60 0x1aa2d4c08 0x1aa2373e4 0x1aa265620 0x1aa26615c 0x1a5d23d08 0x1a5d1ea30 0x1a5d1efac 0x1a5d1e7c0 0x1a7f1f79c 0x1d2823c38 0x100970c08 0x1a57e28e0) libc++abi.dylib: terminating with uncaught exception of type NSException
-
Re: app crashes updating to Xcode 11.2 from 11.1
edford Nov 14, 2019 1:31 PM (in response to fmatosic)Xcode 11.2.1 released with build number 11B500. The GM Seed had build number 11B53 and is not the same as the released build. Please rebuild with this released build, and if you still continue to get these crashes after that, please open a Feedback Assistant ticket and post the number here so I can follow up on it.
-
Re: app crashes updating to Xcode 11.2 from 11.1
Lucky7 Nov 14, 2019 6:42 PM (in response to edford)So it seems that the issue is gone when building with 11B500. However, the description for build 11B53 (GM) clearly stated that it was released to fix the UITextView bug.
It feels like you're blaming developers for trusting Apple that the GM was safe to use given that fact that it took Apple seven (7) days to release build 11B500 on the Mac App Store.
The only party to blame here is Apple. If we cannot trust the company and the tools they provide, what's left?
-
-
-
-