Bug 22647 - Problem with codesign multiple app extensions
Summary: Problem with codesign multiple app extensions
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: 7.9.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 8.0.0 (iOS 8)
Assignee: Bugzilla
Depends on:
Reported: 2014-09-04 11:28 UTC by Rustam Zaitov
Modified: 2014-09-18 08:31 UTC (History)
3 users (show)

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 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 Rustam Zaitov 2014-09-04 11:28:20 UTC
I am porting sample NewBox:

Building failed on _CodesignAppExtensions task:
Target _CodesignAppExtensions:
		Tool /usr/bin/codesign execution started with arguments: -v -f -s "E48CB2DE41FEBFC70DA64560B4C7267182363BE5" --resource-rules "bin/iPhone/Debug/NewBox.app/ResourceRules.plist" --entitlements "obj/iPhone/Debug/Entitlements.xcent" "bin/iPhone/Debug/NewBox.app/PlugIns/com.xamarin.NewBox.NBox.appex;bin/iPhone/Debug/NewBox.app/PlugIns/com.xamarin.NewBox.NBoxFileProvider.appex" 
		bin/iPhone/Debug/NewBox.app/PlugIns/com.xamarin.NewBox.NBox.appex;bin/iPhone/Debug/NewBox.app/PlugIns/com.xamarin.NewBox.NBoxFileProvider.appex: No such file or directory
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: error : Tool exited with code: 1. Output: bin/iPhone/Debug/NewBox.app/PlugIns/com.xamarin.NewBox.NBox.appex;bin/iPhone/Debug/NewBox.app/PlugIns/com.xamarin.NewBox.NBoxFileProvider.appex: No such file or directory

Task "CodesignTask" execution -- FAILED

Full build log available here:

XS: 5.4.192
Comment 1 Rustam Zaitov 2014-09-04 11:36:51 UTC
Also if I remove some ref to one extension project – solution compiles
Comment 2 Jeffrey Stedfast 2014-09-04 14:06:33 UTC
For future reference, providing the name of the git module & branch is a LOT more useful than providing a url to a commit in github.
Comment 3 Jeffrey Stedfast 2014-09-04 14:47:58 UTC
Fixed in monotouch revision 2665a8f86dd2e5b8d52adafca430a68ddb7eeda6
Comment 4 Mohit Kheterpal 2014-09-18 08:31:19 UTC
I have checked this issue and I am able to build Newbox sample application without any error as shown in screencast : http://screencast.com/t/J9FIMVjc

App info : monotouch-samples-mastermonotouch-samples/commit/187ade09fecee3442abf1adc19eeb23b1f756b8e

Environment info : 
=== Xamarin Studio ===

Version 5.4 (build 240)
Installation UUID: 45555ffd-f3f0-4f29-9543-e369d711ab7d
	Mono 3.8.0 ((no/45d0ba1)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 308000009

=== Apple Developer Tools ===

Xcode 6.0 (6299)
Build 6A313

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: b26679f
Build date: 2014-09-16 12:47:14-0400

=== Xamarin.Android ===

Version: 4.17.0 (Enterprise Edition)
Android SDK: /Users/xamarin77/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		3.2    (API level 13)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		4.5    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.Mac ===


=== Build Information ===

Release ID: 504000240
Git revision: 01786bc67c7024ec33d327ed27e4416d7a846f4e
Build date: 2014-09-17 10:58:48-04
Xamarin addins: 7cd7dfcd6b7b7b53281508954ec080f1cd153ad3

=== Operating System ===

Mac OS X 10.9.4
Darwin Xamarin77s-Mac-mini.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64