2015-08-24 70 views
1

我都卡住了,搜索一段時間並沒有得到答案,我正在使用第三方庫ZipArchive來解壓縮該文件。

Undefined symbols for architecture x86_64: 
    "_OBJC_CLASS_$_Main", referenced from: 
     objc-class-ref in NetworkManager.o 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

下面是錯誤日誌:

Ld /Users/ngi-raheelmateen/Library/Developer/Xcode/DerivedData/eQuiz-Sample-gxbnecbwpozhqweupuoifjuubzzx/Build/Products/Debug-iphonesimulator/eQuiz-Sample.app/eQuiz-Sample normal x86_64 
    cd /Users/ngi-raheelmateen/Documents/EQUIZ-IOS 
    export IPHONEOS_DEPLOYMENT_TARGET=8.4 
    export 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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -L/Users/ngi-raheelmateen/Library/Developer/Xcode/DerivedData/eQuiz-Sample-gxbnecbwpozhqweupuoifjuubzzx/Build/Products/Debug-iphonesimulator -F/Users/ngi-raheelmateen/Library/Developer/Xcode/DerivedData/eQuiz-Sample-gxbnecbwpozhqweupuoifjuubzzx/Build/Products/Debug-iphonesimulator -filelist /Users/ngi-raheelmateen/Library/Developer/Xcode/DerivedData/eQuiz-Sample-gxbnecbwpozhqweupuoifjuubzzx/Build/Intermediates/eQuiz-Sample.build/Debug-iphonesimulator/eQuiz-Sample.build/Objects-normal/x86_64/eQuiz-Sample.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lAFNetworking -lAMScrollingNavbar -lDTModelStorage -lDTTableViewManager -lMMDrawerController -framework CoreData -framework CoreGraphics -framework Foundation -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=8.4 -lz -lPods-eQuiz-Sample -Xlinker -dependency_info -Xlinker /Users/ngi-raheelmateen/Library/Developer/Xcode/DerivedData/eQuiz-Sample-gxbnecbwpozhqweupuoifjuubzzx/Build/Intermediates/eQuiz-Sample.build/Debug-iphonesimulator/eQuiz-Sample.build/Objects-normal/x86_64/eQuiz-Sample_dependency_info.dat -o /Users/ngi-raheelmateen/Library/Developer/Xcode/DerivedData/eQuiz-Sample-gxbnecbwpozhqweupuoifjuubzzx/Build/Products/Debug-iphonesimulator/eQuiz-Sample.app/eQuiz-Sample 

任何有益的答案是多少appreiated。

回答

0

檢查API的要求,可能是你需要一些iOS框架來包含。

相關問題