Bug 22494 - Application Loader fails with ERROR ITMS-9000: Invalid Bundle Structure
Summary: Application Loader fails with ERROR ITMS-9000: Invalid Bundle Structure
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: 3.9
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-08-29 03:18 UTC by Prashant Cholachagudda
Modified: 2014-12-08 11:23 UTC (History)
13 users (show)

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


Attachments
Build log (29.75 KB, application/octet-stream)
2014-08-29 03:18 UTC, Prashant Cholachagudda
Details


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 Prashant Cholachagudda 2014-08-29 03:18:44 UTC
Created attachment 7870 [details]
Build log

The Application Loader fails with "*ERROR ITMS-9000: Invalid Bundle Structure - The binary file
'MyApp.app/Xamarin/Bind/iOS.a' is not permitted. Your app may contain only
one executable file.*"

Steps to reproduce: 

1. Create any iOS application
2. Add BugSense nuget package to your app (Install-Package BugSense.Xamarin.iOS)
3. Add below code register Bugsense in AppDelegate.FinishedLaunching
   public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions)
   {
      // Use the BugSenseHandler.Instance.RegisterNativehandlers = false before
      //InitAndStartSession(string) method if you don’t want to register the native signal
     // handlers and wrap the main.cs entry application code with a try/catch block

     BugSenseHandler.Instance.InitAndStartSession ("API_KEY");

     // Other application code
     return true;
   }
4. Build the app with AppStore configuration
5. Follow the instructions in from https://gist.github.com/brendanzagaeski/9220557#option-2-upload-a-zipped-app-bundle
to submit the app.
Comment 2 Sebastien Pouliot 2014-08-29 10:57:06 UTC
A `.a` file is a _static_ library. It is meant to be linked *within* the native executable, not shipped separately with the application (like it is in the .app you attached).

This is either

a) because the project file added a "Copy/Content" action to this file (e.g. user error);

or

b) Something the nuget does when adding the component (e.g. a BugSense packaging bug);

However this is not an XI bug and Apple (iTunes) error is correct.
Comment 3 ramsayamarin@gmail.com 2014-08-31 13:53:22 UTC
This still does not solve the issue for me because:

a)I have not set a "Copy/Content" action to this file
or
b)I tried adding BugSense through regular dll references instead of NuGet and I still get the same problem

I contacted BugSense and they replied "In the end I believe this is an IDE, compiler, build host issue probably and the bind native library with the native static library we embed, which is something normal to do with Xamarin and native iOS to port code.".
Comment 4 Adam Lysák 2014-09-01 07:36:21 UTC
I have similar problem. 

ERROR ITMS-9000: "Invalid Bundle Structure - The binary file 'InventoroidClientiOS.app/2/3.a' is not permitted. Your app may contain only one executable file. Refer to the Bundle Programming Guide at http://developer.apple.com/library/ios/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/100000123i-CH101-SW1 for information on the iOS app bundle structure

I using external library in my app "Scandit Barcode Scanner SDK" (http://components.xamarin.com/view/scandit)
which apperantly linking static library in app. Until recently was any problem. When I tried publish my app last week then this problem showed.
Comment 5 nick 2014-09-02 23:51:36 UTC
I'm getting the same error, without using nuget for anything.  I've added monogame and Flurry to my app.

"Invalid Bundle Structure - The binary file 'PetersQuest.app/2/0.a' is not permitted.  Your app may only contain one executable file."
Comment 6 Sebastien Pouliot 2014-09-03 08:26:55 UTC
Could you (everyone) provide all the version numbers of the software you're using ?

On a Mac the easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
Comment 7 nick 2014-09-03 08:34:51 UTC
Microsoft Visual Studio Professional 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-179-2382625-02695
Microsoft LightSwitch for Visual Studio 2013

Office Developer Tools - May 2014 Update ENU   06177-179-2382625-02695
Microsoft Office Developer Tools for Visual Studio 2013 - May 2014 Update ENU

Team Explorer for Visual Studio 2013   06177-179-2382625-02695
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-179-2382625-02695
Microsoft Visual Basic 2013

Visual C# 2013   06177-179-2382625-02695
Microsoft Visual C# 2013

Visual C++ 2013   06177-179-2382625-02695
Microsoft Visual C++ 2013

Visual F# 2013   06177-179-2382625-02695
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-179-2382625-02695
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

ASP.NET and Web Tools   2013.2.50425
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.1.20409.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.1
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

JetBrains ReSharper 8.2   Full Edition build 8.2.0.2160 on 2014-03-21T00:53:08
JetBrains ReSharper 8.2 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2014 JetBrains, Inc.

NuGet Package Manager   2.8.50313.46
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Plastic SCM   1.0
This package extends Visual Studio to add the main Plastic SCM features as branching, labeling, merging and other features

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Windows Azure Mobile Services Tools   1.1
Windows Azure Mobile Services Tools

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.3.47.0 (0b2a123923812a88ed3091909478dbe9e0111f00)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android

I'm using Xamarin Build Host 7.2.6.28.  Xamarin Studio on the mac is 5.2.1 build 1.

I don't know if this is relevant, but if I select an AppStore build, it never generates an ipa file.  I switched it to ad-hoc, and explicitly set it to use the app store provisioning profile to generate an ipa.
Comment 8 ramsayamarin@gmail.com 2014-09-03 11:06:43 UTC
Microsoft Visual Studio Ultimate 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Ultimate

Visual C# 2012   04940-004-0038003-02921
Microsoft Visual C# 2012

Xamarin   3.3.47.0 (0b2a123923812a88ed3091909478dbe9e0111f00)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android


=== Xamarin Studio ===

Version 5.2.1 (build 1)
Installation UUID: 3a28aa1b-4341-42b6-a017-8289db751642
Runtime:
	Mono 3.6.0 ((no/f540f8a)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000039

=== Xamarin.Android ===

Not Installed

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 7.2.6.28 (Business Edition)
Hash: 606f31a
Branch: 
Build date: 2014-08-01 15:27:48-0400

=== Xamarin.Mac ===

Version:

=== Build Information ===

Release ID: 502010001
Git revision: d06832ce9807d6be24aca225457e8b37c7669f6f
Build date: 2014-08-07 12:10:47-04
Xamarin addins: 1de032531be4cecf2f39dbee3b87aac78204058c

=== Operating System ===

Mac OS X 10.9.4
Darwin Ramsays-MacBook-Pro.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
Comment 9 Adam Lysák 2014-09-03 15:54:47 UTC
***Windows machine***:
Microsoft Visual Studio Ultimate 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51650

Installed Version: Ultimate

Architecture and Modeling Tools   06181-004-0451013-02929
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2013   06181-004-0451013-02929
Microsoft LightSwitch for Visual Studio 2013

Team Explorer for Visual Studio 2013   06181-004-0451013-02929
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06181-004-0451013-02929
Microsoft Visual Basic 2013

Visual C# 2013   06181-004-0451013-02929
Microsoft Visual C# 2013

Visual C++ 2013   06181-004-0451013-02929
Microsoft Visual C++ 2013

Visual F# 2013   06181-004-0451013-02929
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06181-004-0451013-02929
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU   06181-004-0451013-02929
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   12.3.50717.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.20703.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.2
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone
Build 

Microsoft Azure Mobile Services Tools   1.2
Microsoft Azure Mobile Services Tools

MySQL for Visual Studio   1.1.4
Data design and management tools for MySQL.  Copyright © 2007-2014 Oracle, Inc.

NuGet Package Manager   2.8.50313.46
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.2
Provides file classification services using PowerShell

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.40403.0
Microsoft SQL Server Data Tools

Telerik WinForms VSExtensions   2014.3.820.0
Telerik UI for WinForms VSExtensions

Telerik WPF VSExtensions   2014.3.820.0
Telerik UI for WPF VSExtensions

Windows Azure Tools   2.2
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.2.11003.1601

Windows Azure Tools   2.3
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.3.20320.1602

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.3.47.0 (0b2a123923812a88ed3091909478dbe9e0111f00)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android


***MAC machine (primary build server)***:
=== Xamarin Studio ===

Version 5.2.1 (build 1)
Installation UUID: 2aa199ef-2894-455a-94a6-e2b49daefa7e
Runtime:
	Mono 3.6.0 ((no/f540f8a)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000039

=== Xamarin.Android ===

Version: 4.14.0 (Business Edition)
Android SDK: /Users/adam/Library/Developer/Xamarin/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)
		4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 7.2.6.28 (Business Edition)
Hash: 606f31a
Branch: 
Build date: 2014-08-01 15:27:48-0400

=== Xamarin.Mac ===

Version:

=== Build Information ===

Release ID: 502010001
Git revision: d06832ce9807d6be24aca225457e8b37c7669f6f
Build date: 2014-08-07 12:10:47-04
Xamarin addins: 1de032531be4cecf2f39dbee3b87aac78204058c

=== Operating System ===

Mac OS X 10.9.4
Darwin Adams-Mac.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
Comment 10 Sebastien Pouliot 2014-09-03 16:13:34 UTC
I tried again and cannot duplicate this. I never get a `.a` file inside the .app begin generated.

However there's seems to be a constant in the use of Windows/VS. Can anyone (affected by this) try directly from the Mac using Xamarin Studio ?

@kzu can you try the original* description from VS to see if you get such a file in your .app ?

you'll need to add a `using BugSense`
Comment 11 ramsayamarin@gmail.com 2014-09-03 16:24:24 UTC
Here is a link to a test project that when built in the App Store configuration with VS 2012 Win8 creates an output which contains iOS.a --> https://www.dropbox.com/s/my9h5vrqn4g78o6/PosTest_2014-08-29%2009-04-37Z.zip?dl=0
Comment 12 ramsayamarin@gmail.com 2014-09-03 16:25:33 UTC
The thing to note is that just adding a BugSense reference doesn't produce the iOS.a, one must also initiate BugSense in the FinishedLoading() method.
Comment 13 Sebastien Pouliot 2014-09-03 16:29:51 UTC
@ramsayamarin I've seen it the zip and I do not doubt it's there - I just can't see how it got there (i.e. what copies it). My best guess, right now, is that the VS addin is mis-tracking the `.a` file and includes it into the package (that would explain why I, and other Mac-only customers, cannot duplicate it)

note: The need to call Initialize is normal. Without the call there's no "hard" reference to the BugSense*.dll in the `.exe` (so it's basically ignored after the C# compiler step and it's content can't get into the `.app`).
Comment 14 ramsayamarin@gmail.com 2014-09-03 16:41:13 UTC
What VS addin are you referring to? I am seeking a solution to this issue, I want to include BugSense like I did a few months ago without problems, as this problem started happening only recently, maybe due to an Xamarin or BugSense update... so should I wait on Xamarin to figure it out or who do I seek for help? BugSense support told me that this is an Xamarin problem and not theirs.
Comment 15 nick 2014-09-03 20:25:05 UTC
Forgot to include the full details for Xamarin Studio on my Mac.

=== Xamarin Studio ===

Version 5.2.1 (build 1)
Installation UUID: 98e66400-9fb7-4e3d-b5f6-48e5c5cdccb0
Runtime:
	Mono 3.6.0 ((no/f540f8a)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000039

=== Xamarin.Android ===

Not Installed

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 7.2.6.28 (Business Edition)
Hash: 606f31a
Branch: 
Build date: 2014-08-01 15:27:48-0400

=== Xamarin.Mac ===

Version:

=== Build Information ===

Release ID: 502010001
Git revision: d06832ce9807d6be24aca225457e8b37c7669f6f
Build date: 2014-08-07 12:10:47-04
Xamarin addins: 1de032531be4cecf2f39dbee3b87aac78204058c

=== Operating System ===

Mac OS X 10.9.4
Darwin nikhils-mini 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
Comment 16 Adam Lysák 2014-09-04 05:06:19 UTC
I have installed latest version of Xamarin.iOS and Xamarin Visual Studio plugin via Xamarin Studio Updater today and issue solved.

Xamarin.iOS
Version: 7.4.0.108

Visual Studio:
Xamarin   3.5.55.0 (2db5ccd228887372e207e112bc3b5f1b16b24293)
Comment 17 ramsayamarin@gmail.com 2014-09-04 19:00:39 UTC
I did just install the latest update from Xamarin and it does change a lot in terms of the folder structure in ~/Library/Caches/Xamarin/mtbs/. While I no longer see the iOS.a file (maybe its still there but I didnt find it, a good way to be sure is to successfully submit to the appstore), I ran into a new problem that didnt occur before the update. While the debug build of my app still works fine, the release build now crashes at the splash screen, so I tried to debug the release version and got the following ->

Unhandled Exception:

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
Mono.Debugger.Soft.VMDisconnectedException: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown.
   at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
   at Mono.Debugger.Soft.Connection.Type_GetFieldCustomAttributes(Int64 id, Int64 field_id, Int64 attr_type_id, Boolean inherit)
   at Mono.Debugger.Soft.FieldInfoMirror.GetCAttrs(TypeMirror type, Boolean inherit)
   at Mono.Debugging.Soft.SoftDebuggerAdaptor.OnGetTypeDisplayData(EvaluationContext ctx, Object type)
Mono.Debugger.Soft.VMDisconnectedException: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown.
   at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
   at Mono.Debugger.Soft.Connection.Method_GetParamInfo(Int64 id)
   at Mono.Debugger.Soft.MethodMirror.GetParameters()
   at Mono.Debugging.Soft.SoftDebuggerAdaptor.<GetMembers>d__1e.MoveNext()
   at Mono.Debugging.Evaluation.ObjectValueAdaptor.GetMembersSorted(EvaluationContext ctx, IObjectSource objectSource, Object t, Object co, BindingFlags bindingFlags)
   at Mono.Debugging.Evaluation.ObjectValueAdaptor.GetObjectValueChildren(EvaluationContext ctx, IObjectSource objectSource, Object type, Object obj, Int32 firstItemIndex, Int32 count, Boolean dereferenceProxy)
   at Mono.Debugging.Evaluation.BaseTypeViewSource.GetChildren(ObjectPath path, Int32 index, Int32 count, EvaluationOptions options)
   at Mono.Debugging.Client.ObjectValue.GetAllChildren(EvaluationOptions options)
The program 'Mono' has exited with code 0 (0x0).
Comment 18 Christopher Blackman 2014-09-05 12:12:22 UTC
I am able to confirm this issue using Visual Studio with Xamarin 3.3.47.8 and Xamarin.iOS 7.2.6.28.

However, when building using Xamarin Studio on the Mac (with Xamarin.iOS 7.2.6.28) the project builds fine in the AppStore configuration using the BugSense NuGet package, with no '.a' files included in the build output.

My Mac environment info can be found here: https://gist.github.com/ChrisBlackman/3b128514e692247842f6
Comment 19 Christopher Blackman 2014-09-05 14:01:06 UTC
When using Visual Studio with Xamarin 3.5.55.0 and Xamarin.iOS 7.4.0.108, I cannot confirm whether the issue is resolved as I am unable to build, due to this bug: https://bugzilla.xamarin.com/show_bug.cgi?id=22636

I receive the following build error:
Error    5    Failed to resolve "System.Reflection.Emit.ModuleBuilder"
reference from "mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"    C:\Program Files
(x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets

It appears this is because the Newtonsoft.Json package (which BugSense depends on) has references to assemblies that are incompatible with Monotouch.
Comment 20 Sebastien Pouliot 2014-09-05 14:06:24 UTC
-> VS as this works with XI/Mac alone

Please verify that this was properly fixed post 3.3 (comment #16 seems to imply so).
Comment 21 Emanuel 2014-11-17 15:28:32 UTC
@Christopher, could you verify if you're still able to reproduce this bug?

If that's the case, please re-open it. Thanks.
Comment 22 Christopher Blackman 2014-11-17 16:15:51 UTC
@Emanuel I am now unable to install BugSense into template iOS projects (both classic and unified), so I'm can't confirm it at the moment. the NuGet output mentions that the Newtonsoft.Json package BugSense relies on is not compatible with the Xamarin.iOS or MonoTouch frameworks. I am using XamarinVS 3.8.0.145, Xamarin.iOS 8.4.0.0, and Visual Studio 2013 Update 3.

Here's the NuGet output when attempting to install the package into the classic API project: https://gist.github.com/ChrisBlackman/b1d97d518bc940a14bf2

And here's the NuGet output from the unified API project: https://gist.github.com/ChrisBlackman/6d9740436904d01eea6c

I'm also unable to install a newer version of Netwonsoft.Json from NuGet directly into the template apps due to a similar error. Not too sure if this is a bug or if it's how things are supposed to work.
Comment 23 Jose Gallardo 2014-11-20 09:06:08 UTC
@Christopher, it seems like you don't have the latest NuGet Package Manager version installed in your box. This is a new requirement we have since XVS v3.8, and it's detailed in the Release Notes. Can you please go to Tools - Extensions Manager and see if there is an update for the Microsoft NuGet Package Manager and install it?
If you have issues updating it, you might need to run Visual Studio as administrator, or uninstall it, and then re install it.

Thanks!
Comment 24 Christopher Blackman 2014-11-21 13:53:25 UTC
@Jose Sorry I'm a bit late with this. I believe this issue is fixed as I was able to submit a template Classic API app to the App Store through Application Loader. I'm still unable to get the BugSense package installed into a Unified API app, but I'm guessing that doesn't matter much with this particular issue.
Comment 25 Prashant manu 2014-11-28 00:24:15 UTC
Unable to verify this issue due to bug 24837.
Comment 26 Parmendra Kumar 2014-12-08 11:23:25 UTC
I have checked this issue and now it is working fine.

Screencast: http://www.screencast.com/t/bGUh8EHomvuh

Environment info:

Microsoft Visual Studio Professional 2012
Version 11.0.50727.1 RTMREL
Microsoft .NET Framework
Version 4.5.50938

Xamarin   3.9.125.0 
Xamarin.Android   4.20.0.28 
Xamarin.iOS   8.6.0.0 

Hence closing this issue.