swift-nio: Channel doesn't work in Testflight.

Expected behavior

Once I bind socket there will be reads in channel.

Actual behavior

No reads in channel.

Steps to reproduce

  1. Create iOS app with UDPEcho in it.
  2. Archive it and distribute via test flight.
  3. Install app
  4. Open app, then close and kill it.
  5. Uninstall app.
  6. Install it again.
  7. Run server in app.
  8. No reads in channel.

If possible, minimal yet complete reproducer code (or URL to code)

https://hasteb.in/agolucir.swift

SwiftNIO version/commit hash

SwiftNIO 2.23.0

Swift & OS version (output of swift --version && uname -a)

Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
Target: x86_64-apple-darwin19.6.0
Darwin iMac-Pro.local 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64

iOS 14.0.1

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 33 (16 by maintainers)

Most upvoted comments

I’ll try to replicate, will post back results here