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.asn1
in a directoryasn1c_dir
from listing 1-1. cd asn1c_dir
asn1c -fnative-types module.asn1
- Then in Xcode "add existing files" and add the
asn1c_dir
directory - Try building, bu开发者_StackOverflow中文版t 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.c
is an unnecessary file. Delete it. Go about your life a happy person.
精彩评论