Build and Archive fails due to missing dSYM file

  • Hi all,

    I'm trying to use Build and Archive to prepare an app for submission to the Mac App Store.

    It fails because it is unable to copy the dSYM file to the archive. The error suggests that the format needs to be DWARF with dSYM, but that is indeed what I am using.

    When I build in Debug configuration, a dSYM file is created with the app, but in Release config, it is not. Yet both projects have exactly the same build settings in this respect, so I'm not sure what's going on. Both projects have 'Generate debug symbols' on, and both have 'DWARF with dSYM' as the format.

    There is presumably some other magic flag I need to ensure I generate the dSYM file in the Release config, but I'm at a a loss. I've searched the net for this problem and understand what the file is for and why it's part of the archive, but haven't found anything that sheds light on the file not getting created in the first place.

    --Graham
  • On 16 Dec 2010, at 07:22, Graham Cox wrote:

    > Hi all,
    >
    > I'm trying to use Build and Archive to prepare an app for submission to the Mac App Store.
    >
    > It fails because it is unable to copy the dSYM file to the archive. The error suggests that the format needs to be DWARF with dSYM, but that is indeed what I am using.
    >
    > When I build in Debug configuration, a dSYM file is created with the app, but in Release config, it is not. Yet both projects have exactly the same build settings in this respect, so I'm not sure what's going on. Both projects have 'Generate debug symbols' on, and both have 'DWARF with dSYM' as the format.
    >
    > There is presumably some other magic flag I need to ensure I generate the dSYM file in the Release config, but I'm at a a loss. I've searched the net for this problem and understand what the file is for and why it's part of the archive, but haven't found anything that sheds light on the file not getting created in the first place.
    >
    > --Graham
    >
    Presumably you have checked that the target level settings for the release build have not been modified to override the project level settings.

    Regards

    Jonathan Mitchell

    Developer
    Mugginsoft LLP
    On 16/12/2010, at 8:34 PM, <jonathan...> wrote:

    > Presumably you have checked that the target level settings for the release build have not been modified to override the project level settings.

    Thanks Jonathan, indeed that was the case, I overlooked it about 50 times for some reason - the interface just doesn't make things like that jump out I guess.

    Anyway, one step forwards....Next!

    --Graham
previous month december 2010 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today