我一直在关注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