Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
344 views
in Technique[技术] by (71.8m points)

dyld - SwiftUI Symbol not found: _$s7SwiftUI9TextFieldVAA4ViewAAMc Xcode 11 beta 3

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You cannot run an app compiled with Xcode beta 2, on a device with iOS13 beta 3. Upgrade your Xcode to beta 3 and all should be good.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...