我一直在關注RestKit安裝說明,但是現在我嘗試構建應用程序時出現錯誤。這是針對ios,iPad的具體情況。RestKit鏈接程序錯誤
我得到 「命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang失敗,退出代碼1」
說明:
Ld build/Debug-iphonesimulator/iDoor.app/iDoor normal i386
cd "/Users/User/Dropbox/darxstudios/FatCow Games/iDoor"
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/User/Dropbox/darxstudios/FatCow Games/iDoor/build/Debug-iphonesimulator" "-F/Users/User/Dropbox/darxstudios/FatCow Games/iDoor/build/Debug-iphonesimulator" -filelist "/Users/User/Dropbox/darxstudios/FatCow Games/iDoor/build/iDoor.build/Debug-iphonesimulator/iDoor.build/Objects-normal/i386/iDoor.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC - all_load -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -framework Security -lxml2 -framework SystemConfiguration -framework MobileCoreServices -framework CoreData -framework CFNetwork -framework UIKit -framework Foundation -framework CoreGraphics -o "/Users/User/Dropbox/darxstudios/FatCow Games/iDoor/build/Debug-iphonesimulator/iDoor.app/iDoor"
我沒有使用的專家XCode,但它幾乎似乎它想部署爲MAC OSX,但我有ios的目標設置。任何幫助,將不勝感激。
我也沒有RestKit.framework添加(在Mac OSX版)和我正在下面安裝RestKit這裏的說明:https://github.com/RestKit/RestKit/wiki/Installing-RestKit-in-Xcode-4.x
我注意到進一步尋找後,在「鏈接二進制與圖書館」的libRestKit.a是紅色的。我想這可能是一個部分或整個問題...
真的是-1嗎?它是一件常見的事情要做和錯過。 – Darxval 2012-01-20 21:32:49