Bug 43890 - Bundle signing is broken for XM apps with app extensions
Summary: Bundle signing is broken for XM apps with app extensions
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Other ()
Version: 2.10.0 (C8)
Hardware: Macintosh Mac OS
: High major
Target Milestone: 2.10.0 (C8)
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2016-08-30 22:01 UTC by Oleg Demchenko
Modified: 2016-09-06 14:46 UTC (History)
5 users (show)

Is this bug a regression?: Yes
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 or GitHub 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:

Description Oleg Demchenko 2016-08-30 22:01:37 UTC
Building Xamarin.Mac application which contains appex fails in Release configuration when signing is turned on.

Steps to reproduce:
1) Pull ExtensionSamples from mac-samples repository
2) Set signing options to automatic for release config. Identity - "Mac Distribution(Automatic)". Profile - "Automatic"
3) Build All in release configuration

Build fails with the following error:

Build without errors.

Notes: this regression was introduced between XM and and it is related to adding/removing files from app bundle after signing.

Related forums thread: https://forums.xamarin.com/discussion/72670/error-in-attaching-provisioning-profile-in-xamarin

Full env details: https://gist.github.com/anonymous/3a3c6ac533428b74582b8c398ab8e4ed
Comment 2 Oleg Demchenko 2016-08-31 13:34:31 UTC
It might be that this issue is related to #43893.
Comment 3 Jeffrey Stedfast 2016-08-31 17:21:29 UTC
That commit only affects Xamarin.iOS's MSBuild logic, so I don't see how it could break Xamarin.Mac?
Comment 4 Jeffrey Stedfast 2016-08-31 18:38:15 UTC