0
所以我建設有CorePlot應用程序失敗,當我試圖運行它,我得到了以下錯誤:的iOS鏈接器命令使用核心情節的Xcode 4.3.2
ld: warning: ignoring file /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker- chbhtqlxwipamtailjamrakmkpuy/Build/Products/Debug-iphoneos/libCorePlot-CocoaTouch.a,
file was built for archive which is not the architecture being linked (armv6)
ld: duplicate symbol _main in /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main-cocoatouch.o and /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main.o for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我讀的地方,我需要添加到其他鏈接器標誌:-ObjC -all_load -lCorePlot
但是,這似乎並沒有在項目信息或生成設置的任何地方,我不知道這是否與我的錯誤有任何關係。任何幫助揭開神祕面紗將非常感激。