Thanks for your answers, glad I'm not the only one :D
I hope Eskimo will have a look at it and file a radar, I do not find out to file these now :-/
Post
Replies
Boosts
Views
Activity
Interesting fact : if I use a trigger, it does not crash. Is a use a timer that flips a boolean trigger to mimic a loop, it does not crash either (just edited the POST)
Thanks to all of you for these answers and support, I appreciate ;-)
FYI, I tried with appearance, but safeAreaInsets are .zero and safeAreaLayoutGuide is still nil, that's a shame :-/
let appearance = UICollectionView.appearance(for: self.traitCollection, whenContainedInInstancesOf: [UIViewController.self, UINavigationController.self]) print(" \(appearance.safeAreaInsets) - \(appearance.safeAreaLayoutGuide)")
Thanks for your answer Claude31.
For various reasons being :
I need to send to the server the display area before even beginning to load a view
That will not give me the insets for all orientation
Besides, I can use the UIApplication.shared.windows.first?.safeAreaInsets to get the same result I guess ;-)
Same here, I thought I was going nuts :D
I think I found the origin of this behavior : I recently changed my internet provider and it seems the network isn't stable.
If I switch to iPhone shared network, it works like a charm.
So my question now would be : how can I make sure that my internet connection is stable enough for Xcode ? Is there any settings I can play with to stabilize it?
Thanks.
Found it : I had an SPM package that used StateObject.
However, this package requires iOS14 minimum and my project targeted iOS 13.4, weird :-/
Anyway, thanks for your help ;-)
iOS 14.x (any subversion), same for 13. I can't go below 13.4 because I use some methods that are available only starting with 13.4
So basically, any 13 version crashes, all 14 versions work...
Hi and thanks for your answer,
yes the targets are 13.4 min and it occurs on both device and simulator.
it happens right away, while splash screen is still visible and I don't have any chauffeur.swift or .xib.
It is UIKit lifecycle, nothing special. And yes, first thing I try to hard clean the project ;-)
My bad, I missed a warning actually :-/
Thanks a lot, I'll look at it ;-)
Thanks @polyphonic, but from what I understood, I have to play the track in order for the tap to work right? I can render the mixed track in background. Is that correct ? thanks.
@ricob : I did run it in the simulator (I chose the extension target and ran it), but I can't see any print or enter any breakpoint, that's weird :-/
@yoshi_i : thanks, I'll try that too