Hi all,
I have just been asked to take ownership of iOS code of one of our company's apps.
It was quite a struggle to get the code to build on my machine (OSX 10.8, Xcode4.5 and simulator 5.1/6.0) but now most of the errors have been resolved except for this one that says "Argument type 'void' is incomplete"
The line that it's pointing at is
Apparently , there is something wrong with variable macOut. Following is the declaration of macOut :
I can't see anything missing but again, I am not very experienced in iOS programming. Appreciate if you can provide any pointers on resolving this .
Thanks,
Mark
I have just been asked to take ownership of iOS code of one of our company's apps.
It was quite a struggle to get the code to build on my machine (OSX 10.8, Xcode4.5 and simulator 5.1/6.0) but now most of the errors have been resolved except for this one that says "Argument type 'void' is incomplete"
The line that it's pointing at is
Code:
"
for(int i = 0; i < CC_SHA256_DIGEST_LENGTH; i++){
---------->> [COLOR="Red"] [output appendFormat:@"%02x", macOut.mutableBytes[i]];[/COLOR]
}
"
Apparently , there is something wrong with variable macOut. Following is the declaration of macOut :
Code:
" NSMutableData *macOut = [NSMutableData dataWithLength:CC_SHA256_DIGEST_LENGTH];
CC_SHA256(dataIn.bytes, dataIn.length, macOut.mutableBytes);
NSMutableString* output = [NSMutableString stringWithCapacity:CC_SHA256_DIGEST_LENGTH * 2];
"
I can't see anything missing but again, I am not very experienced in iOS programming. Appreciate if you can provide any pointers on resolving this .
Thanks,
Mark
Attachments
Last edited by a moderator: