2013-02-26 63 views
1

我是Xcode和obective-c的新手,我在另一臺計算機上從另一位開發人員接管的項目出現問題。我無法聯繫這位程序員(已解僱)。將項目從一臺計算機移動到另一臺計算機後,鏈接器命令失敗,退出代碼爲1

Ld /Users/*****/Library/Developer/Xcode/DerivedData/Dino-eyvcyvuofjuafncdadqeywyvdsra/Build/Products/Debug-iphonesimulator/Dino.app/Dino normal i386 
     cd /Users/******/Dropbox/Xcode/ABCiTY/Dino 
     setenv IPHONEOS_DEPLOYMENT_TARGET 5.1 
     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/iPhoneSimulator6.1.sdk -L/Users/******/Library/Developer/Xcode/DerivedData/Dino-eyvcyvuofjuafncdadqeywyvdsra/Build/Products/Debug-iphonesimulator -F/Users/******/Library/Developer/Xcode/DerivedData/Dino-eyvcyvuofjuafncdadqeywyvdsra/Build/Products/Debug-iphonesimulator -filelist /Users/******/Library/Developer/Xcode/DerivedData/Dino-eyvcyvuofjuafncdadqeywyvdsra/Build/Intermediates/Dino.build/Debug-iphonesimulator/Dino.build/Objects-normal/i386/Dino.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.1 -lABCityCrossMarketing -framework AdSupport -framework CoreMotion -framework SystemConfiguration -framework CoreData -framework QuartzCore -framework CoreImage -framework AVFoundation -framework StoreKit -framework UIKit -framework Foundation -framework CoreGraphics -lGoogleAnalytics -lGoogleConversionTracking -o /Users/*******/Library/Developer/Xcode/DerivedData/Dino-eyvcyvuofjuafncdadqeywyvdsra/Build/Products/Debug-iphonesimulator/Dino.app/Dino 

    ld: library not found for -lABCityCrossMarketing 
    clang: error: linker command failed with exit code 1 (use -v to see invocation) 

任何人都可以幫助我嗎?

+0

也許Xcode沒有複製'ABCityCrossMarketing'庫,它只是在項目中保留對它的引用。您必須將該庫複製到另一臺計算機到同一位置。 – 2013-02-26 14:38:43

回答

0

的信息是明確的在這裏,我想:

library not found for -lABCityCrossMarketing 

此當您移動文件夾和控制或基本上任何文件被放錯地方的Xcode和它不知道在哪裏可以找到它發生。您必須再次將其添加到您的項目中,或者將路徑更改爲列出的路徑。

1

您缺少庫文件libABCityCrossMarketing.a

谷歌「ABCityCrossMarketing」沒有爲我返回任何東西。看起來很糟糕。如果你仍然可以訪問他的機器,那麼這看起來是恢復這個文件的唯一方法(這個庫可能是由他編寫的,從未發佈過)。

相關問題