4 Replies Latest reply: Dec 31, 2011 2:54 PM by Sega dude
Sega dude Level 1 Level 1 (5 points)

I cannot compile my project for the device or simulator anymore. I get 13 Apple Mach-O-Linker errors. It all started after I failed attempt to use sharekit. Here is the log from the error:

 

ld: warning: directory not found for option '-F/Users/bbrandy95/Documents/Broken Brandsonic Web Projects/Brandsonic Web mobile/../../Downloads/0.2.1gm1/iphoneos4.0/System/Library/Frameworks'

Undefined symbols for architecture armv7:

  "_OBJC_CLASS_$_NSURLRequest", referenced from:

      objc-class-ref in Brandsonic_Web_mobileAppDelegate.o

      objc-class-ref in Brandsonic_Web_mobileViewController.o

  "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:

      objc-class-ref in main.o

  "_objc_msgSendSuper2", referenced from:

      -[Brandsonic_Web_mobileAppDelegate dealloc] in Brandsonic_Web_mobileAppDelegate.o

      -[Brandsonic_Web_mobileViewController didReceiveMemoryWarning] in Brandsonic_Web_mobileViewController.o

      -[Brandsonic_Web_mobileViewController dealloc] in Brandsonic_Web_mobileViewController.o

  "_objc_setProperty", referenced from:

      -[Brandsonic_Web_mobileAppDelegate setWindow:] in Brandsonic_Web_mobileAppDelegate.o

      -[Brandsonic_Web_mobileAppDelegate setViewController:] in Brandsonic_Web_mobileAppDelegate.o

  "__objc_empty_vtable", referenced from:

      _OBJC_CLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o

      _OBJC_METACLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o

      _OBJC_CLASS_$_Brandsonic_Web_mobileViewController in Brandsonic_Web_mobileViewController.o

      _OBJC_METACLASS_$_Brandsonic_Web_mobileViewController in Brandsonic_Web_mobileViewController.o

      _OBJC_METACLASS_$_SecondView in SecondView.o

      _OBJC_CLASS_$_SecondView in SecondView.o

  "_objc_msgSend", referenced from:

      _main in main.o

      -[Brandsonic_Web_mobileAppDelegate application:didFinishLaunchingWithOptions:] in Brandsonic_Web_mobileAppDelegate.o

      -[Brandsonic_Web_mobileAppDelegate dealloc] in Brandsonic_Web_mobileAppDelegate.o

      -[Brandsonic_Web_mobileAppDelegate GOOGLE] in Brandsonic_Web_mobileAppDelegate.o

      -[Brandsonic_Web_mobileAppDelegate YOUTUBE] in Brandsonic_Web_mobileAppDelegate.o

      -[Brandsonic_Web_mobileAppDelegate WIKI] in Brandsonic_Web_mobileAppDelegate.o

      -[Brandsonic_Web_mobileViewController webView:shouldStartLoadWithRequest:navigationType:] in Brandsonic_Web_mobileViewController.o

      ...

  "__objc_empty_cache", referenced from:

      _OBJC_CLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o

      _OBJC_METACLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o

      _OBJC_CLASS_$_Brandsonic_Web_mobileViewController in Brandsonic_Web_mobileViewController.o

      _OBJC_METACLASS_$_Brandsonic_Web_mobileViewController in Brandsonic_Web_mobileViewController.o

      _OBJC_METACLASS_$_SecondView in SecondView.o

      _OBJC_CLASS_$_SecondView in SecondView.o

  "_OBJC_CLASS_$_NSObject", referenced from:

      _OBJC_CLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o

  "___CFConstantStringClassReference", referenced from:

      CFString in Brandsonic_Web_mobileAppDelegate.o

      CFString in Brandsonic_Web_mobileAppDelegate.o

      CFString in Brandsonic_Web_mobileAppDelegate.o

      CFString in Brandsonic_Web_mobileViewController.o

      CFString in Brandsonic_Web_mobileViewController.o

      CFString in Brandsonic_Web_mobileViewController.o

      CFString in Brandsonic_Web_mobileViewController.o

      ...

  "_OBJC_CLASS_$_NSKeyedUnarchiver", referenced from:

      objc-class-ref in Brandsonic_Web_mobileViewController.o

  "_OBJC_CLASS_$_NSUserDefaults", referenced from:

      objc-class-ref in Brandsonic_Web_mobileViewController.o

  "_OBJC_CLASS_$_NSURL", referenced from:

      objc-class-ref in Brandsonic_Web_mobileAppDelegate.o

      objc-class-ref in Brandsonic_Web_mobileViewController.o

  "_OBJC_METACLASS_$_NSObject", referenced from:

      _OBJC_METACLASS_$_Brandsonic_Web_mobileAppDelegate in Brandsonic_Web_mobileAppDelegate.o

      _OBJC_METACLASS_$_Brandsonic_Web_mobileViewController in Brandsonic_Web_mobileViewController.o

      _OBJC_METACLASS_$_SecondView in SecondView.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

'

 

How do I fix this? Please help.