I've got a simple SwiftUI-based app I'm working on. I just have a dozen or so UI elements. When I try to launch on device, the app aborts with the following:
dyld: Symbol not found: _$s7SwiftUI9TextFieldVAA4ViewAAMc
Build/run environment:
Xcode 11.0 beta 2 (11M337n)
macOS Catalina 10.15 Beta (19A501i)
Device is iPhone XS Max running iOS 13.0 (17A5522f), which is beta 3.
I thought this was something specific to my project, so I created a new one from the template -- so here's how you can reproduce:
1. Open Xcode
2. File -> New -> Project
3. From the iOS tab, choose Single View App
4. Enter a Product Name, and make sure "Use SwiftUI" is checked.
5. Next, save the project
6. Build and run
Same issue. There's no additional error output other than the line above.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…