Sunday, 24 July 2011

Weird Location Error

Ld "/Users/jakecunningham/Library/Developer/Xcode/DerivedData/fisherman's_Friend_Version1-axvylmhblbgmbfelcvaxdxtpsjop/Build/Products/Debug-iphonesimulator/fisherman's Friend Version1.app/fisherman's Friend Version1" normal i386
    cd "/Users/jakecunningham/Desktop/fisherman's Friend Version1"
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk "-L/Users/jakecunningham/Library/Developer/Xcode/DerivedData/fisherman's_Friend_Version1-axvylmhblbgmbfelcvaxdxtpsjop/Build/Products/Debug-iphonesimulator" "-F/Users/jakecunningham/Library/Developer/Xcode/DerivedData/fisherman's_Friend_Version1-axvylmhblbgmbfelcvaxdxtpsjop/Build/Products/Debug-iphonesimulator" -filelist "/Users/jakecunningham/Library/Developer/Xcode/DerivedData/fisherman's_Friend_Version1-axvylmhblbgmbfelcvaxdxtpsjop/Build/Intermediates/fisherman's Friend Version1.build/Debug-iphonesimulator/fisherman's Friend Version1.build/Objects-normal/i386/fisherman's Friend Version1.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework UIKit -framework Foundation -framework CoreGraphics -framework CoreData -o "/Users/jakecunningham/Library/Developer/Xcode/DerivedData/fisherman's_Friend_Version1-axvylmhblbgmbfelcvaxdxtpsjop/Build/Products/Debug-iphonesimulator/fisherman's Friend Version1.app/fisherman's Friend Version1"

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_CLLocationManager", referenced from:
      objc-class-ref in LocationManager.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status


it looks like for some reason the compiler isn't happy with the CLLocationManager object even though the header files are added and the delegate is set?

No comments:

Post a Comment