Bug 41158 - .dSYM files are not copied back to the PC with the .IPA
Summary: .dSYM files are not copied back to the PC with the .IPA
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.1.0 (C7)
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: 4.2.0 (C8)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-05-18 16:27 UTC by John Miller [MSFT]
Modified: 2016-06-21 13:46 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description John Miller [MSFT] 2016-05-18 16:27:56 UTC
**Overview:**

   When building for iOS, .dSYM files are not copied back to the PC with the IPA file. That makes it very difficult for the developer to save these for symbolicating crash logs later. 

**Steps to Reproduce:**

   1. Build an iOS IPA
   2. Check the bin folder 

**Actual Results:**

   No .dSYM is present.

**Expected Results:**

   The .dSYM file should be copied to the PC. 

**Additional Information:**

   We currently have KB article on where to find these on the Mac: https://kb.xamarin.com/customer/en/portal/articles/1969488--where-can-i-find-the-dsym-file-to-symbolicate-ios-crash-logs-
Comment 1 Jose Gallardo 2016-05-18 16:36:53 UTC
Fixed on master.
Commit:
https://github.com/xamarin/XamarinVS/commit/be1dcffe33a7d79901d1a8a8998bfc78177ec081
Comment 2 Chase Florell 2016-05-18 16:38:35 UTC
Nice work. 
I guess that repo isn't OSS like the rest.. yet.
Comment 3 Sunil Kumar 2016-06-07 16:18:13 UTC
I have checked this issue with latest Master Xamarin.VisualStudio_99.0.0.2519_549e62485e289525dfd273d072acf318165d44ba and xamarin.ios-9.9.0.285_a0a1288143af1d2a352ce295e8b7658e84474dd6 and observed that now this issue works fine. On building the iOS IPA, .dSYM file is appearing in bin folder as shown in screencast: http://www.screencast.com/t/ZNxO9VkGY 

I'll verify this issue with cycle 8 builds.
Comment 4 narayanp 2016-06-17 17:31:44 UTC
I have checked this issue with latest build of cycle 8 Lane Xamarin.VisualStudio_99.0.0.2592_eca42fac88e5da556ddb0970f3f7fc405fe7d3a6 and xamarin.ios-9.9.2.5_68717b41001729105f41c8f70166c2d8ee39793d and observed that now this issue works fine. 

On Building the iOS IPA, .dSYM file is appearing in bin folder as shown in the screencast.

Screencast: http://www.screencast.com/t/gPgjdQ7tm
Comment 5 Chase Florell 2016-06-20 22:34:59 UTC
the public doesn't have access to the XamarinVS repo. Is there a work-around available until this get's released?

I have this config in my cshtml for copying the ipa, I'm hoping the same is available for the dsym.

  <PropertyGroup>
    <CreateIpaDependsOn>
  		$(CreateIpaDependsOn);
  		CopyIpa
  	</CreateIpaDependsOn>
  </PropertyGroup>
  <Target Name="CopyIpa" Condition="'$(OutputType)' == 'Exe' And '$(ComputedPlatform)' == 'iPhone' And '$(BuildIpa)' == 'true'">
    <Message Text="Copying $(IpaPackagePath) to $(OutputPath)." Importance="high" />
    <Copy SourceFiles="$(IpaPackagePath)" DestinationFolder="$(OutputPath)" />
  </Target>