I am trying to figure out how to properly create a version of my Cocoa application.
So far, I have used the Create option for archiving and grabbed the application package from the Xcode DerivedData deep folder.
Today I tried the Archive menu command and used Share to save my application package. It seems to be cleaner and less hacked. Digging into the DerivedData folder just doesn't seem to work properly.
But here is the thing. The binaries inside these two application packages do not match. As far as I can see, they behave the same. But diff shows that they are not equal, and their sizes suggest that there is more than a trivial difference. For example, my binary version created using Build for Archiving is 29,576 bytes in size. The Archive version is only 21,536 bytes.
Archiving and archiving sound as if they should be basically the same. Why are they different? Which one is "better"?
source share