I am running Catalina beta on a Mac Mini using Xcode 11 beta. I attempt to write a short app using the SwiftUI ContentView. It runs perfectly in the simulator but not on my iPhone running iOS 13 beta. Fails with EXC_BAD_ACCESS error. An app without the SwiftUI works fine both in simulator and on the device. Has anyone else encoutered this?
SwiftUI works in simulator but not on device iPhoneX
I have encountered this on with swiftUI on watchOS6. Works in the simulator but not on device. My watch is running beta1 and Xcode is beta 2 so I'm wondering of this is the issue. Unfortunately my watch is currently stuck on beta1 for unknown reasons (no update available).
Hi,
I'm having the same issue on iPhone XS Max. Works fine on simulator.
Turns out it was related to Xcode not being setup properly for my developer account. I'm not sure exactly what because I didn't take notes but I would look there first.