Starting with Xcode 14 on iOS 16 only, I'm seeing this error when displaying a UIDatePicker: the "invalid" size is being adjusted to the same size.
On iOS < 16, no message. A bug?
Starting with Xcode 14 on iOS 16 only, I'm seeing this error when displaying a UIDatePicker: the "invalid" size is being adjusted to the same size.
On iOS < 16, no message. A bug?
I also get this, but I get it on iOS 14 through to 16.
Yesterday I updated Xcode from 13.x to 14.0, then after getting the similar error. Anyone know the fix please ? MAC OS version 12.5
I'm also getting this error
I have several errors since I updated to Xcode 14, it gives me this error and colorpicker has stopped working for me when I use it on a sheet. I have been trying to fix it for almost a week but there is no way, I have uninstalled Xcode 14 and I have returned to 13.4.1 restoring my project from a backup but the problem has remained. Before upgrading to Xcode 14 all the part that doesn't work before did it. I have filled out a feedback to Apple, but they haven't answered me yet.
I got this error as well, is it a Xcode bug?
Only on iPhone 14 for me. It's OK building for iOS15 + iPhone 13 Pro Max (15.2)
I have noticed similar error messages after upgrading to iOS 16 and Xcode 14... It seems safe to ignore - I get that message EVERY TIME there is a UIPickerView on screen, regardless of whether I set constraints or not. If I create a new project, drag a UIPickerView onto the storyboard, and do NOTHING ELSE, I get the following:
"PickerExperiment[53940:3402977] -[UIPickerView setFrame:]: invalid size {393, 162} pinned to {393, 162}"
I have found that if I set height constraints, the PickerView looks fine on screen and works fine. I have an app on the app store that uses A LOT of custom-height picker views, and although my console now fills up with these messages, the app looks and works as it did before.
(FYI, I'm running an iPhone 13 mini with iOS 16.1.1)
Hmmm... I am getting this error message and it is actively messing up my pickers... They are all the wrong height now.. Was not getting this issue on iOS 15. I tried using autolayout and the app would crash.. Perhaps I made a mistake when creating the constraints....
Same issue here. Specifically using just:
DatePicker("Time", selection: $time, displayedComponents: [.hourAndMinute])
The error message is:
2022-12-14 21:18:21.204118-0800 BloodPressure[14429:21371914] -[UIPickerView setFrame:]: invalid size {320, 216} pinned to {320, 216}
Environment:
Same issue here
The error message is
[UIPickerView setFrame:]: invalid size {320, 216} pinned to {320, 216}
Environment:
I have the same issue, anyone got solution for this?