What does the error “unrecognized selector sent to instance” mean in Xcode

后端 未结 10 687
谎友^
谎友^ 2021-01-11 09:28

What does it mean \"unrecognized selector sent to instance\" in Xcode?

10条回答
  •  遥遥无期
    2021-01-11 09:59

    I had a similar problem and the issue was my ".m" class containing the unknown selector wasn't in the "Build Phases / Compile Sources" list. I added it and everything was fixed.

提交回复
热议问题