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

前端 未结 2 1507
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-02 04:50

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: _$s7SwiftUI7Binding         


        
2条回答
  •  长发绾君心
    2021-01-02 05:26

    SwiftUI APIs deprecated in previous betas are now removed. (52587863)

    Several extensions to the Binding structure are removed. (51624798)

    The Binding structure’s conditional conformance to the Collection protocol is removed. (51624798)

    I believe the answer is this section of release notes. Binding’s removal from conforming to collection.

    In a new project utilizing CoreData, crash does not occur. Any other project with dynamic data that is not CoreData, like a set or array crashes with this error.

    I followed the migration guide from the notes to account for this removal, but crash still occurs on device. Simulator, previews, etc are all fine.

提交回复
热议问题