0

我试图将解析框架添加到我的项目中,但我一添加它们就有这两个错误。我可以在带有库的链接二进制文件下看到解析框架,但由于某种原因,Xcode 看不到该框架。我还尝试打开一个新项目并再次添加 parse.framework 文件夹,但结果是一样的。任何帮助表示赞赏。

Ld /Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator/EatNOW.app/EatNOW normal i386
    cd /Library/Developer/California/EatNOW/EatNOW
    setenv IPHONEOS_DEPLOYMENT_TARGET 6.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/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator -F/Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator -F/Library/Developer/California/EatNOW/EatNOW -filelist /Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Intermediates/EatNOW.build/Debug-iphonesimulator/EatNOW.build/Objects-normal/i386/EatNOW.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -lsqlite3.0 -framework UIKit -framework Foundation -framework CoreGraphics -framework "Parse " -o /Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator/EatNOW.app/EatNOW

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

GenerateDSYMFile /Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator/EatNOW.app.dSYM /Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator/EatNOW.app/EatNOW
    cd /Library/Developer/California/EatNOW/EatNOW
    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/dsymutil /Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator/EatNOW.app/EatNOW -o /Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator/EatNOW.app.dSYM

error: unable to open executable '/Users/Home/Library/Developer/Xcode/DerivedData/EatNOW-hhzgxrbjavpslhgovolovnupbeaf/Build/Products/Debug-iphonesimulator/EatNOW.app/EatNOW'
4

1 回答 1

0

您需要指定链接器将在何处找到框架。在目标的 Build Settings 中,找到名为 Search Paths 的部分。在 Framework Search Paths 字段中,添加 Parse 框架的文件路径,以便它可以位于链接中。

于 2013-06-25T22:49:32.303 回答