nicklockwood / layout

A declarative UI framework for iOS
MIT License
2.23k stars 97 forks source link

UITextField causing unresponsive in Xcode 11 Beta 5 iOS 13 #180

Open tengfoung opened 5 years ago

tengfoung commented 5 years ago

Everything else seems to work fine except when tapping away on focused UITextField, the app become unresponsive. It is reproducible using SampleApp project provided in the repository.

Details:

Xcode 11 Beta 5 (11M382q) iOS Simulator iPhone XR (iOS 13)

Steps to reproduce:

  1. Simply add the UI component as such in Text.xml:
    <UITextField
    top="SPACING"
    width="100%"
    height="40"
    backgroundColor="white"
    />
  2. Run the SampleApp scheme.
  3. Go to Text tab.
  4. Tap on the textfield, type something and tap somewhere else to defocus.

Result:

App become unresponsive.

In console, it shows:

atos[30314]: atos cannot examine process 30302 (SampleApp) for unknown reasons, even though it appears to exist; try running with sudo. ==30302==WARNING: Can't read from symbolizer at fd 11

However, in my own project it showed different error:

[] nw_connection_receive_internal_block_invoke [C36] Receive reply failed with error "Operation canceled"

Thread info:

image

nicklockwood commented 5 years ago

I've not been able to reproduce this.