HackingWithSwift icon indicating copy to clipboard operation
HackingWithSwift copied to clipboard

Project 25—issue connecting with projects created in Xcode 11.1

Open weters opened this issue 6 years ago • 0 comments

How to reproduce:

  1. Create a new project in Xcode 11.1
  2. Follow the instructions in project 25 (you can also just copy the ViewController.swift file from this repo).
  3. 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.

weters avatar Nov 29 '19 23:11 weters