Is there a possibility to build an archive file with the help of the command line? Or can you only do it with Xamarin Studio/Xcode?
We use something like this:
/Applications/Xamarin Studio.app/Contents/MacOS/mdtool archive foo.sln "-c:Release|iPhone"
That creates the archive in the Xcode archives location (which is also used by Xamarin Studio). However, mdtool still has the bug where it puts the iTunesMetadata.plist file inside the .app, which will cause your app to be rejected if you try to submit it. For now we are manually deleting that file from the archive before publishing, but long term we will likely switch to using a different build configuration that builds a .ipa instead of using the archive feature.
The archive contains the dSym file which is helpful for debugging. So I think you would need both the ipa and the xcarchive file. If I don't use the iTunesMetadata.plist file I would be fine?
I believe the dsym is in the output directory somewhere too. I'm not at a machine where I can test, though.
The iTunesMetadata file is automatically created and added to the archive by Xamarin's build so it's not something you can avoid. It's necessary for ad hoc builds, but forbidden now for App Store submissions. So you would have to delete that file from the archive if you want to submit the archive to the App Store.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies