XCode Linker error: Symbol(s) not found
Came across a weird error today:
For some reason the reference to the class in question is not listed under Compile Sources. Thankfully, it's an easy fix.
1. Under Groups & Files, expand Targets
2. Expand the compile target
3. Expand Compile Sources (xx)
4. Check to see if all of your .m files are listed. If not, drag the missing files in.
5. Recompile and run.
So, not sure why this happens, but luckily there's an easy fix.
Objc-class-ref-to-[ClassName] in MainController.o Symbol(s) not found Collect2: Id returned 1 exit status
For some reason the reference to the class in question is not listed under Compile Sources. Thankfully, it's an easy fix.
1. Under Groups & Files, expand Targets
2. Expand the compile target
3. Expand Compile Sources (xx)
4. Check to see if all of your .m files are listed. If not, drag the missing files in.
5. Recompile and run.
So, not sure why this happens, but luckily there's an easy fix.
Labels: error, linker error
1 Comments:
Slots Casino Site Review (2021) | Bonuses, Free Spins, Banking
Slots Casino. Slots casino review. List of all bonuses and promotions offered by Slots.lv. All luckyclub Slots Casino Games.
By Anonymous, At February 1, 2022 at 9:03 AM
Post a Comment
Subscribe to Post Comments [Atom]
<< Home