XCode 9.3 WatchKit crash on WKInterfaceButton tap

一个人想着一个人 提交于 2019-12-24 13:33:36

问题


A button crashes on tap (watch simulator and real device) :

Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) inside the framework/function libswiftCore.dylib swift_getObjectType

The button has a “Sent Action” defined in the storyboard, but no segue, other buttons work well, adding a segue to the button seems to resolve this issue. This occurs on Xcode 9.3 ( did not occur on previous versions)

Any ideas? I want to understand whats causing the crash - hate leaving stuff unresolved.

来源:https://stackoverflow.com/questions/49727620/xcode-9-3-watchkit-crash-on-wkinterfacebutton-tap

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