I have seen a lot of issues in different forums regarding "Linker Issue" for class reference.
Firstly try to show target in navigator and check whether any file is unchecked like in Fig 1

Fig 1
If there is any file being unchecked then it will show an error as in Fig 1.
".objc_class_name_SecondLinkerViewController", referenced from :
Literal-pointer@__OBJC@__cls_refs@SecondLinkerViewController in LinkerViewController.o
Symbol(s) not found
Collect2 : Id returned 1 exit
To resolve this issue, we are required to check the target checkmark icon, as in Fig 2

After checking these files, and build again, this issue will get resolved.
Thanks.
".objc_class_name_SecondLinkerViewController", referenced from :
Literal-pointer@__OBJC@__cls_refs@SecondLinkerViewController in LinkerViewController.o
Symbol(s) not found
Collect2 : Id returned 1 exit
To resolve this issue, we are required to check the target checkmark icon, as in Fig 2

After checking these files, and build again, this issue will get resolved.
Thanks.
No comments:
Post a Comment