, 내가 얻을 오류 :애플 마하-O 링커 오류 (객체를 할당 할 수 없습니다)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_PlayerProfileSectionProReviewModel", referenced from:
objc-class-ref in PlayerProfileSectionProReviewViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
나는 내가 방법 라인 _playerProfileSectionProReviewModel = [[PlayerProfileSectionProReviewModel alloc]init];
을 실행하려고 할 때 내가 얻을이 오류 :
- (PlayerProfileSectionProReviewModel *)playerProfileSectionProReviewModel
{
if (!_playerProfileSectionProReviewModel)
{
_playerProfileSectionProReviewModel = [[PlayerProfileSectionProReviewModel alloc]init];
}
return _playerProfileSectionProReviewModel;
}
어디에서 문제가 발생합니까? 제발 도와주세요!
'PlayerProfileSectionProReviewModel' 클래스에 대한 참조가 타겟과 올바르게 연결되어 있습니다. – Kampai
뷰 컨트롤러에는'_property (비 원자력, 강함) PlayerProfileSectionProReviewModel * playerProfileSectionProReviewModel; 속성이 있습니다. _playerProfileSectionProReviewModel = [[PlayerProfileSectionProReviewModel alloc] init]; ' –