RestKit安装错误

et_et 发布于 2018-12-06 ios 最后更新 2018-12-06 22:59 3 浏览

我只是从RestKit开始构建一个Web服务应用程序(在iOS上)。 在按照this tutorial后,我得到以下错误。 我搜索了很多,但找不到解决问题的方法。

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
任何人都帮助我?
已邀请:

quo_et

赞同来自:

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

要回复问题请先登录注册