简体   繁体   English

ASIHTTPRequest,项目错误

[英]ASIHTTPRequest, project error

I am getting this error, don't know what is the solution to it 我收到此错误,不知道如何解决

Ld /Users/Omer/Library/Developer/Xcode/DerivedData/LoginTest-eibsbylnvmiovwhavrqixbxjpvbm/Build/Products/Debug-iphonesimulator/LoginTest.app/LoginTest normal i386
    cd /Users/Omer/Documents/development/LoginTest
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/Omer/Library/Developer/Xcode/DerivedData/LoginTest-eibsbylnvmiovwhavrqixbxjpvbm/Build/Products/Debug-iphonesimulator -F/Users/Omer/Library/Developer/Xcode/DerivedData/LoginTest-eibsbylnvmiovwhavrqixbxjpvbm/Build/Products/Debug-iphonesimulator -filelist /Users/Omer/Library/Developer/Xcode/DerivedData/LoginTest-eibsbylnvmiovwhavrqixbxjpvbm/Build/Intermediates/LoginTest.build/Debug-iphonesimulator/LoginTest.build/Objects-normal/i386/LoginTest.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -lz -framework CoreGraphics -framework Foundation -framework CFNetwork -framework SystemConfiguration -framework MobileCoreServices -framework UIKit -o /Users/Omer/Library/Developer/Xcode/DerivedData/LoginTest-eibsbylnvmiovwhavrqixbxjpvbm/Build/Products/Debug-iphonesimulator/LoginTest.app/LoginTest

Undefined symbols for architecture i386:
  "_GHAssertTrue", referenced from:
      -[VektorViewController testAuthentication] in VektorViewController.o
  "_GHAssertNil", referenced from:
      -[VektorViewController testAuthentication] in VektorViewController.o
  "_GHAssertFalse", referenced from:
      -[VektorViewController testAuthentication] in VektorViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

If you are trying to build a project and not run unit tests then you need to remove the test cases from your main project. 如果您尝试构建项目而不运行单元测试,则需要从主项目中删除测试用例。 If your are building the test project then you will need to include the GHUnit project. 如果您正在构建测试项目,则需要包括GHUnit项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM