Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

file not found -fobjc-link-runtime

Tags:

objective-c

I have this error in objective c

-fobjc-link-runtime it say's file not found. I've been googling but failed to get what caused the error. I'm building it on a xcode4.5 environment. using ios6 as base sdk. Any ideas?

like image 718
n0minal Avatar asked Oct 05 '12 07:10

n0minal


1 Answers

Just had the same issue. Turns out it was due to my having left a -force_load option in the Other Linker Flags, that turned out to be followed by -fobj-link-runtime, causing the linker to think that was a library.

like image 159
sergio Avatar answered Sep 22 '22 04:09

sergio