Search code examples
swiftuixcode11ios13

After upgrade to iOS13 beta 6/Xcode 11 beta 5: issue "dyld: Symbol not found: _$s7SwiftUI7BindingVyxGAA0C11ConvertibleAAMc"


After upgrading to iOS13 beta 6 using Xcode 11 beta 5 I receive this message when running on an iPhone SE device.

dyld: Symbol not found: _$s7SwiftUI7BindingVyxGAA0C11ConvertibleAAMc
  Referenced from: /var/containers/Bundle/Application/3B128240-B05E-4C1C-A0E1-55D22683B49E/BleAdvApp.app/BleAdvApp
  Expected in: /System/Library/Frameworks/SwiftUI.framework/SwiftUI
 in /var/containers/Bundle/Application/3B128240-B05E-4C1C-A0E1-55D22683B49E/BleAdvApp.app/BleAdvApp

Using the simulator there's no such message, and it has been ok with iOS13 beta 5 on the device, tool Compiling is fine, the message is shown at startup of the application on the iPhone with an

Thread 1: signal SIGABRT

Since there is no Xcode 11 beta 6, the Xcode is still running on beta 5 on MacOS Mojave 10.14.5 (18F132).

I created a simple SwiftUI example from scratch, that's working without any issue on the actual phone and the simulator.

What me also wonders is that there's no path /var/containers on my Mac at all?

Any idea on how to proceed?


Solution

  • With the update to Xcode 11 beta 6 and using iOS 13 beta 7 the issue does not appear anymore. I used the code posted in the links above.