Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symbol not found: _OBJC_CLASS_$_NSObject

I'm getting the following error when running a Mac app in OS X 10.7.3 (Lion):

Dyld Error Message:
  Symbol not found: _OBJC_CLASS_$_NSObject
  Referenced from: /Users/USER/Desktop/MyApp.app/Contents/MacOS/../Frameworks/SBJson.framework/Versions/A/SBJson
  Expected in: /usr/lib/libobjc.A.dylib

The app runs fine on OS X 10.8.1 (Mountain Lion) and was built with XCode 4.4 in Mountain Lion. SBJson is a private framework.

What can be the problem?

like image 811
hpique Avatar asked Sep 07 '12 18:09

hpique


1 Answers

Set your deployment target to 10.7.

like image 134
Peter Hosey Avatar answered Sep 20 '22 03:09

Peter Hosey