1

我是 Xcode 和 obctive-c 的新手,我从另一台机器上的另一位开发人员那里接手的项目有问题。我不能再联系这个程序员了(被解雇了)。

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)

谁能帮我这个?

4

2 回答 2

1

您缺少库文件libABCityCrossMarketing.a

“ABCityCrossMarketing”的谷歌对我没有任何回报。看起来很糟糕。如果您仍然可以访问他的机器,那么这似乎是恢复此文件的唯一方法(这个库可能是他编写的并且从未发布过)。

于 2013-02-26T14:40:02.887 回答
0

我认为这里的信息很清楚:

library not found for -lABCityCrossMarketing

当您移动文件夹和控件或基本上任何文件被 Xcode 放错位置并且它不知道在哪里找到它时,就会发生这种情况。您必须再次将它添加到您的项目中,或者在它列出的任何地方更改它的路径。

于 2013-02-26T14:38:46.783 回答