1

昨日ビルドして実行したプロジェクトがありますが、今日はリンクしません。私は何も変えませんでした。何が原因かわかりません。それが参照している main.o と _main が表示されません。何か案は?クリーン&ビルドしてみました。このサイトでいくつかのことを見ましたが、手がかりとなるものは何も見当たりません。

Ld /Users/michelecleary/Library/Developer/Xcode/DerivedData/Hackbook-dpdqkbplprywqfeflsbqlgpwbioo/Build/Products/Debug-iphonesimulator/Hackbook.app/Hackbook normal i386
cd /Users/michelecleary/fbPic2/facebook-ios-sdk/sample/Hackbook
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/michelecleary/Library/Developer/Xcode/DerivedData/Hackbook-dpdqkbplprywqfeflsbqlgpwbioo/Build/Products/Debug-iphonesimulator -F/Users/michelecleary/Library/Developer/Xcode/DerivedData/Hackbook-dpdqkbplprywqfeflsbqlgpwbioo/Build/Products/Debug-iphonesimulator -filelist /Users/michelecleary/Library/Developer/Xcode/DerivedData/Hackbook-dpdqkbplprywqfeflsbqlgpwbioo/Build/Intermediates/Hackbook.build/Debug-iphonesimulator/Hackbook.build/Objects-normal/i386/Hackbook.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -o /Users/michelecleary/Library/Developer/Xcode/DerivedData/Hackbook-dpdqkbplprywqfeflsbqlgpwbioo/Build/Products/Debug-iphonesimulator/Hackbook.app/Hackbook

Undefined symbols for architecture i386:
  "_objc_msgSend", referenced from:
    _main in main.o
    -[HackbookAppDelegate application:didFinishLaunchingWithOptions:] in HackbookAppDelegate.o
    -[HackbookAppDelegate applicationDidBecomeActive:] in HackbookAppDelegate.o
    -[HackbookAppDelegate application:handleOpenURL:] in HackbookAppDelegate.o
    -[HackbookAppDelegate application:openURL:sourceApplication:annotation:] in HackbookAppDelegate.o
    -[HackbookAppDelegate dealloc] in HackbookAppDelegate.o
    -[RootViewController dealloc] in RootViewController.o
  ...
  "_UIApplicationMain", referenced from:
    _main in main.o
  "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
    objc-class-ref in main.o
  "_NSLog", referenced from:
    -[HackbookAppDelegate applicationDidBecomeActive:] in HackbookAppDelegate.o
    -[RootViewController fbDidExtendToken:expiresAt:] in RootViewController.o
    -[RootViewController request:didFailWithError:] in RootViewController.o
    -[APICallsViewController apiGraphUserPhotosPost] in APICallsViewController.o
    -[APICallsViewController request:didFailWithError:] in APICallsViewController.o
    -[APICallsViewController dialogCompleteWithUrl:] in APICallsViewController.o
    -[APICallsViewController dialogDidNotComplete:] in APICallsViewController.o
    ...
4

0 に答える 0