본문 바로가기

swift 에러

xcode 에러 Could not insert new outlet connection

반응형

스토리보드에 있는 Object(textfield)를 연결하려고 할 때 가끔 이러한 에러가 발생하곤 한다. 

큰 이슈는 아니지만 까먹지 않기 위해서 작성해보고자 한다.

반응형

 

많은 해결방법들이 나와있지만 VC의 이름을 바꿔주거나 삭제하고 다시 만들어주면 해결이 된다. 

 

https://developer.apple.com/forums/thread/110471

 

Could not insert new outlet connec… | Apple Developer Forums

I want to insert a new outlet for a stack view, but every time I click connedt, this error appears: "Could not insert new outlet connection: Could not find a classs named ViewController in the language Swift". I tried to clear the project and reopened it,

developer.apple.com

 

반응형