OData/OData4ObjC — Issue #3: ODataOrgDemo.xcodeproj: ODataEntity.h: Method name referenced in property setter attribute must end with ':'
Author: teeqemm
Created: 2011-12-27 10:56:17+00:00
State: open

Hi,

I cannot compile any of the sample apps, instead I get several dozend errors... it seems that the setter methods are not properly declared (a setter method takes one argument, so it's supposed to be setSomeValue instead of setSomeValue:).

Cheers,
Thomas

CompileC /Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/Objects-normal/i386/ResourceBox.o Context/ResourceBox.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/teeqemm/Downloads/OData-OData4ObjC-67ed00a/framework/src/MSODataLib
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/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -iquote /Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/MSODataLib-generated-files.hmap -I/Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/MSODataLib-own-target-headers.hmap -I/Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/MSODataLib-all-target-headers.hmap -iquote /Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/MSODataLib-project-headers.hmap -I/Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Products/Debug-iphonesimulator/include -I/usr/include/libxml2 -I/usr/include/libxml2/libxml -I/Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/DerivedSources/i386 -I/Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/DerivedSources -F/Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Products/Debug-iphonesimulator -include /Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/PrecompiledHeaders/MSODataLib_Prefix-bfvlmgsrblucftdupyusipholzir/MSODataLib_Prefix.pch -MMD -MT dependencies -MF /Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/Objects-normal/i386/ResourceBox.d -c /Users/teeqemm/Downloads/OData-OData4ObjC-67ed00a/framework/src/MSODataLib/Context/ResourceBox.m -o /Users/teeqemm/Library/Developer/Xcode/DerivedData/ODataOrgDemo-gkofidkcljsjqgftzehuzmkbkkpj/Build/Intermediates/MSODataLib.build/Debug-iphonesimulator/MSODataLib.build/Objects-normal/i386/ResourceBox.o

In file included from /Users/teeqemm/Downloads/OData-OData4ObjC-67ed00a/framework/src/MSODataLib/Context/ResourceBox.h:18:
In file included from /Users/teeqemm/Downloads/OData-OData4ObjC-67ed00a/framework/src/MSODataLib/Context/ResourceBox.m:18:
/Users/teeqemm/Downloads/OData-OData4ObjC-67ed00a/framework/src/MSODataLib/Interfaces/ODataEntity.h:34:77: error: method name referenced in property setter attribute must end with ':'
@property ( nonatomic, assign , getter=getChangeOrder, setter=setChangeOrder) NSInteger changeOrder;