HackingWithSwift
HackingWithSwift copied to clipboard
Project 25—issue connecting with projects created in Xcode 11.1
How to reproduce:
- Create a new project in Xcode 11.1
- Follow the instructions in project 25 (you can also just copy the ViewController.swift file from this repo).
- Run the app on two devices and try to join a session. It won't ever connect.
Now, if you delete SceneDelegate.swift, remove the two UISceneSession lifecycle methods in AppDelegate.swift and then remove the scene related dictionary item in Info.plist and re-run the apps, you'll see it works as expected.