본문 바로가기

iOS/Swift

[Swift] unrecognized selector sent to instance

더보기

2023-06-02 14:56:27.902501+0900 Clima[14882:416323] -[Clima.WeatherViewController searchTextFiled:]: unrecognized selector sent to instance 0x131707320

2023-06-02 14:56:27.913247+0900 Clima[14882:416323] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Clima.WeatherViewController searchTextFiled:]: unrecognized selector sent to instance 0x131707320'

*** First throw call stack:

unrecognized selector sent to instance 오류발생

 

 

해결 :

IBAction 으로 중복으로 연결되어있는거를 제거하니 정상적으로 작동하였다.

 

'iOS > Swift' 카테고리의 다른 글

[iOS][Swift] App LifeCycle - 앱 생명주기  (0) 2024.05.24
[Swift] Extensions (확장) 이란  (1) 2024.04.12
[Swift] Auto Layout 이란  (2) 2023.05.17
[Swift] Optional 정리  (0) 2023.01.31
[Swift] Cording_Test 준비  (0) 2023.01.30