Bug 28078 - AMDeviceSecureInstallApplicationBundle returned: 0xe80000b1
Summary: AMDeviceSecureInstallApplicationBundle returned: 0xe80000b1
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: XI 8.8.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 8.8.x (C4SR4)
Assignee: Bugzilla
URL:
: 28082 ()
Depends on:
Blocks:
 
Reported: 2015-03-16 15:02 UTC by tim
Modified: 2015-03-19 14:11 UTC (History)
6 users (show)

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


Attachments
info.plist files for container app, watch app, and watch extension (2.03 KB, application/zip)
2015-03-16 15:26 UTC, tim
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 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:
Status:
VERIFIED FIXED

Description tim 2015-03-16 15:02:44 UTC
We have a universal iOS app and recently added a WatchKit app and extension to the solution file. When we try to deploy our app to the iPad, it fails with the following error:

AMDeviceSecureInstallApplicationBundle returned: 0xe80000b1 (This app contains an app extension that specifies an extension point identifer that is not supported on this version of iOS for the value of the NSExtensionPointIdentifier key in its Info.plist.)

The app runs in the iPad Simulator.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-03-16 15:09:40 UTC
Which iOS version is your device?
Comment 2 tim 2015-03-16 15:11:31 UTC
8.2
It worked OK with 8.1.3.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2015-03-16 15:20:25 UTC
Can you upload all your Info.plists (from the .app, not the ones in your project, since the Info.plist files are modified during the build)? Most likely this is an incorrect bundle id somewhere.
Comment 4 tim 2015-03-16 15:26:58 UTC
Created attachment 10370 [details]
info.plist files for container app, watch app, and watch extension
Comment 5 Sebastien Pouliot 2015-03-16 21:04:18 UTC
*** Bug 28082 has been marked as a duplicate of this bug. ***
Comment 6 Rolf Bjarne Kvinge [MSFT] 2015-03-17 13:00:46 UTC
This is because the extension's Info.plist requires this:

<dict>
        <key>UIRequiredDeviceCapabilities</key>
        <array>
                <string>watch-companion</string>
        </array>
</dict>

adding it manually makes the app deploy successfully.
Comment 7 Rolf Bjarne Kvinge [MSFT] 2015-03-17 14:05:09 UTC
PR created: https://github.com/xamarin/maccore/pull/106
Comment 9 tim 2015-03-17 14:40:07 UTC
Thanks for the workaround.

Note that particular key does not exist in a Xcode universal app that includes a WatchKit app.
Comment 10 Rolf Bjarne Kvinge [MSFT] 2015-03-17 14:42:30 UTC
@Tim, Xcode adds it automatically as a part of their build process (the value is in the final app, but not in the project)
Comment 11 Rolf Bjarne Kvinge [MSFT] 2015-03-17 14:59:45 UTC
Fixed.

maccore/master: a466737fb3ec23105b870c3922aa36154d489b11
maccore/macios-cycle5: b6114328f43d9c5cc66831f0f044ff4b116f59a9
Comment 12 Rajneesh Kumar 2015-03-19 14:11:48 UTC
I have checked this issue and observed that this issue is working fine. Now user is able to deploy the "WatchKitCatalog" sample on iPad 4 Version:8.2, successfully without any error/exception.

This issue has been fixed, hence I am closing this issue.

Thanks.

Environment Info:

=== Xamarin Studio ===

Version 6.0 (build 183)
Installation UUID: 2939b8b4-8977-42bd-82d6-100275ccd9cd
Runtime:
	Mono 3.12.1 ((detached/b63df7d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312010002

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.11.0.273 (Trial Edition)
Hash: 3c0d5db
Branch: master
Build date: 2015-03-18 20:44:35-0400

=== Xamarin.Android ===

Version: 5.1.0.66 (Trial Edition)
Android SDK: /Users/360_macmini/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3    (API level 10)
		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)
		5.0    (API level 21)
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)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 1.10.0.21 (Trial Edition)

=== Build Information ===

Release ID: 600000183
Git revision: 9d4fa69ab510ed9ce69409aeaa9bfebe74470ee1
Build date: 2015-03-19 09:33:40-04
Xamarin addins: 7546df3afcb2c414c5572d45b95d435f3a48b58c

=== Operating System ===

Mac OS X 10.9.4
Darwin 360-MACMINIs-Mac-mini-2.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