2011-08-18 185 views
-2
Ld /Users/imac/Library/Developer/Xcode/DerivedData/APPINESS_V02-bqlwftkfsewwgtbygfagdyccihhh/Build/Intermediates/APPINESS_V02.build/Debug-iphoneos/APPINESS_V02.build/Objects-normal/armv6/Appiness normal armv6 
     cd /Users/imac/Desktop/PROJECTS/TRANING/APPINESS 
     setenv IPHONEOS_DEPLOYMENT_TARGET 3.2 
     setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
     /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/imac/Library/Developer/Xcode/DerivedData/APPINESS_V02-bqlwftkfsewwgtbygfagdyccihhh/Build/Products/Debug-iphoneos -F/Users/imac/Library/Developer/Xcode/DerivedData/APPINESS_V02-bqlwftkfsewwgtbygfagdyccihhh/Build/Products/Debug-iphoneos -F/Users/imac/Desktop/PROJECTS/TRANING/APPINESS -filelist /Users/imac/Library/Developer/Xcode/DerivedData/APPINESS_V02-bqlwftkfsewwgtbygfagdyccihhh/Build/Intermediates/APPINESS_V02.build/Debug-iphoneos/APPINESS_V02.build/Objects-normal/armv6/Appiness.LinkFileList -dead_strip -miphoneos-version-min=3.2 -framework QuartzCore -lz.1.2.3 -framework SystemConfiguration -framework MobileCoreServices -framework CFNetwork -lxml2 -framework MapKit -framework CoreLocation -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/imac/Library/Developer/Xcode/DerivedData/APPINESS_V02-bqlwftkfsewwgtbygfagdyccihhh/Build/Intermediates/APPINESS_V02.build/Debug-iphoneos/APPINESS_V02.build/Objects-normal/armv6/Appiness 

    Undefined symbols for architecture armv6: 
     "_OBJC_CLASS_$_FBLoginButton", referenced from: 
      objc-class-ref in FaceBookController.o 
     "_OBJC_CLASS_$_FBSession", referenced from: 
      objc-class-ref in FaceBookController.o 
    ld: symbol(s) not found for architecture armv6 
    collect2: ld returned 1 exit status 
+0

请修改您的帖子。 – adatapost

+0

做一个干净的所有目标和重建。从项目菜单 - >清理。检查磁盘上的FaceBookController.m和FaceBookController.h文件。 –

+0

是你用的脸书库吗? – Jhaliya

回答

2

如果你使用Facebook库(而不是源),比这意味着它是对新的ARM架构和Don”编译t包含ARMv6的二进制文件。如果您需要支持3GS前设备,则需要为ARMv6和ARMv7编译该库。

1

更改Facebook的库YesNo然后编译...的Build Active Architecture Only

相关问题