RestKit安装错误

时间:2011-10-14 04:37:39

标签: ios restkit

我刚开始使用RestKit来构建Web服务应用程序(在iOS上)。 关注this tutorial后,我收到以下错误。

我用Google搜索了很多内容,但无法找到问题的解决方案。

CompileC
/Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/Objects-normal/armv6/RKDynamicObjectMapping.o
Code/ObjectMapping/RKDynamicObjectMapping.m normal armv6 objective-c
com.apple.compilers.gcc.4_2
     cd /Users/dirox/Dropbox/NovaTime/RestKit
     setenv LANG en_US.US-ASCII
     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/gcc-4.2
 -x objective-c -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
 -fexceptions -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -iquote /Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/RestKitObjectMapping-generated-files.hmap
 -I/Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/RestKitObjectMapping-own-target-headers.hmap
 -I/Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/RestKitObjectMapping-all-target-headers.hmap
 -iquote /Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/RestKitObjectMapping-project-headers.hmap
 -I/Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Products/Debug-iphonesimulator/include
 -I/Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/DerivedSources/armv6
 -I/Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/DerivedSources
 -F/Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Products/Debug-iphonesimulator
 -include /Users/dirox/Dropbox/NovaTime/RestKit/Code/Support/RestKit_Prefix.pch
 -c /Users/dirox/Dropbox/NovaTime/RestKit/Code/ObjectMapping/RKDynamicObjectMapping.m
 -o /Users/dirox/Library/Developer/Xcode/DerivedData/NovaTime-bgunlxgabivgykdyqkdrcehybicn/Build/Intermediates/RestKit.build/Debug-iphonesimulator/RestKitObjectMapping.build/Objects-normal/armv6/RKDynamicObjectMapping.o

 Command
 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
 failed with exit code 255

有人帮助我吗?

1 个答案:

答案 0 :(得分:0)

你是Xcode 4.1吗?当前的主机可以正常使用Xcode 4.2,但是我无法访问4.1来测试它。