Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unrecognized selector sent to instance #2

Open
aloveric opened this issue Nov 6, 2016 · 3 comments
Open

unrecognized selector sent to instance #2

aloveric opened this issue Nov 6, 2016 · 3 comments

Comments

@aloveric
Copy link

aloveric commented Nov 6, 2016

使用的时候发现2.2和3.0的版本在拖到边缘的时候会有闪退。

screen shot 2016-11-06 at 11 10 11 pm
img_0139

2016-11-06 23:09:12.399 SpreadButton[2091:803446] -[_SwiftValue pointValue]: unrecognized selector sent to instance 0x15d64d3d0
2016-11-06 23:09:12.402 SpreadButton[2091:803446] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_SwiftValue pointValue]: unrecognized selector sent to instance 0x15d64d3d0'
*** First throw call stack:
(0x181131900 0x18079ff80 0x18113861c 0x1811355b8 0x18103968c 0x183838544 0x183837af4 0x183837214 0x185e5fe84 0x185e5fb48 0x186131c30 0x185e60144 0x181028370 0x181028268 0x185e5fc68 0x186131c30 0x185e60144 0x181028370 0x181028268 0x185e5fc68 0x186131c30 0x18612058c 0x185e28dd0 0x186120454 0x1861207a0 0x1860eab60 0x185e2230c 0x1810e8efc 0x1810e8990 0x1810e6690 0x181015680 0x182524088 0x185e8cd90 0x1000b11c0 0x180bb68b8)
libc++abi.dylib: terminating with uncaught exception of type NSException

@liuzhiyi1992
Copy link
Owner

目测这个是Demo混编的问题,项目中单纯使用swift或者单纯使用oc应该不会出现

@aloveric
Copy link
Author

aloveric commented Nov 7, 2016

screen shot 2016-11-07 at 10 59 17 am

我是单独用Xcode 8建了一个纯swift的项目,还是同样的问题。
在SpreadPositionModeTouchBorder下面移动button是没问题的,一点击就闪退,应该是spreadButton()这个方法的问题,目前还在排查中。

@liuzhiyi1992
Copy link
Owner

重现步骤是怎样的?我这边在SpreadPositionModeTouchBorder模式下移动和点击都没弄出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants