how to upload dsym to appstore with xcrun altool?

Hi,


I'm unable to upload my osx app to appstore straight from the xcarchive like such:

xcrun altool --upload-app -f <path to .xcarchive>


so I exported the app from the xcarchive into a pkg file, and this worked:

xcrun altool --upload-app -f <path to .pkg>


but now my app's appstore entry doesn't have the app's symbols, as the symbols were inside the xcarchive, not the pkg file.

is there a way to upload both the app and the dsym files using altool?


a lot of the discussion I've seen are on uploading .ipa file which already includes dsym inside, there's not much discussion on uploading an osx app.


thanks!

How are you exporting the PKG? Could you provide the steps you followed? Did you include symbols when generating the PKG?
how to upload dsym to appstore with xcrun altool?
 
 
Q