I'm trying to deploy an application on the mac app store.
I'm working through the process of adding the code to validate the recipts
In accordance to the documentation I've compleated the follwing steps
sudo port install asn1c
modlule.asn1
in a directory asn1c_dir
from listing 1-1.cd asn1c_dir
asn1c -fnative-types module.asn1
asn1c_dir
directoryI now get a single error saying "Duplicate symbol _main in /foo/bar/ppc/converter-sample.o and /foo/bar/ppc/main.o
I've tracked this to the fact that it looks like the file converter-sample.c declares it's own int main()
function which is bad right?
any help would be appreciated.
So for metric reasons, I'll answer this question.
converter-sample.c
is an unnecessary file. Delete it. Go about your life a happy person.