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

落花浮王杯 提交于 2019-12-01 07:27:05

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/56917612/swiftui-symbol-not-found-s7swiftui9textfieldvaa4viewaamc-xcode-11-beta-3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!