2017-02-08 4 views
0

앱을 실행할 때 콘솔에 표시되는 오류입니다.classplbuildpublish 오류와 같은 첫 번째 페이지 열기 응답

objc [4391] 두 클래스 PLBuildVersion /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices에서 구현 .framework/AssetsLibraryServices (0x112a1d910) 및 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x112847210) . 이 중 하나가 사용됩니다. 어떤 것이 정의되지 않았습니까?

답변

0

오류가 아니며 시뮬레이터에서 APP를 테스트 할 때 인쇄됩니다. 그 이유는 클래스가 같은 이름을 가질 때 objc는 App에 대해 동일한 네임 스페이스를 사용하기 때문입니다. objc 런타임의 동작은 예측할 수 없습니다. 하나의 가능성은 모든 프로그램의 클래스가로드된다는 것입니다.

관련 문제