Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
341 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...