문제

Test라는 Xcode 프로젝트에서 작업했습니다. 그런 다음 프로젝트 폴더의 복사본을 백업으로 만들었습니다.이제 현재 테스트 프로젝트를 제가 한 내 백업 폴더로 바꾸고 싶습니다.그러나 이제는 오류가있는 것 같습니다.

_OBJC_IVAR_$_GameLayer.backgroundSheet", referenced from:
      -[ALayer setBackgroundPosition] in ALayer.o
.

BackgroundSheet은 내가 대체 한 최신 버전의 새로운 버전에 존재했습니다.Xcode가 아직도 읽는 이유는 무엇입니까?감사합니다!

편집 : 다른 위치에있는 백업 프로젝트를 열면 잘 작동합니다.

도움이 되었습니까?

해결책

Clean your build using Product -> Clean (shift + cmd + K), and after this build. It should help.

다른 팁

Are you using xcode 4.2 and if you opened both projects (backup and working copy) at the same time you will get error like this

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top