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
- Installed asn1c using
sudo port install asn1c - Created a file
modlule.asn1in a directoryasn1c_dirfrom listing 1-1. cd asn1c_dirasn1c -fnative-types module.asn1- Then in Xcode “add existing files” and add the
asn1c_dirdirectory - Try building, but I get ~900 errors
- In the target build settings, I check the box next to “Always Search User Paths”
I 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.cis an unnecessary file. Delete it. Go about your life a happy person.