Bug 24001 - [App Extension] Every Other Deployment Will Not Update Today Extension
Summary: [App Extension] Every Other Deployment Will Not Update Today Extension
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 8.4.0
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-10-22 17:01 UTC by Chris Hardy [MSFT]
Modified: 2016-05-26 00:05 UTC (History)
4 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 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:
RESOLVED NORESPONSE

Description Chris Hardy [MSFT] 2014-10-22 17:01:25 UTC
Deploying to a iPhone 5S iOS 8 simulator would work first time but the second deployment would not load the extension correctly (you will need to make a change in the app to trigger this), with the console showing the following error messages: https://gist.github.com/chrisntr/1c85eb871435ef6ce180


Oct 20 11:49:31 --- last message repeated 1 time ---
Oct 20 11:49:31 ChrisMacBookAir-2.local DaysUntilXmasiPad[78018]: Normal message received by listener connection. Ignoring.
Oct 20 11:49:31 ChrisMacBookAir-2.local DaysUntilXmasiPad[78018]: Could not successfully update network info during initialization.
Oct 20 11:49:32 ChrisMacBookAir-2.local securityd[77852]:  SecTaskCopyAccessGroups No keychain access group specified whilst running in simulator, falling back to default set
Oct 20 11:49:32 ChrisMacBookAir-2 assertiond[77845]: assertion failed: 14A388a 12A365: assertiond + 11619 [03CE1BE5-ACCB-3989-A453-41D167A25E66]: 0x1
Oct 20 11:49:34 --- last message repeated 5 times ---
Oct 20 11:49:34 ChrisMacBookAir-2 com.apple.CoreSimulator.SimDevice.4447523A-E3AD-436F-9AC1-FA0DE27ED145.launchd_sim[77830] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
Oct 20 11:49:34 ChrisMacBookAir-2.local pkd[77860]: enabling pid=77841 for plug-in com.apple.mobilecal.widget(1.0) FB0F45CD-7D58-4748-A418-3C1D57236DBE /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/MobileCal.app/PlugIns/CalendarWidget.appex
Oct 20 11:49:34 ChrisMacBookAir-2.local pkd[77860]: LaunchServices cannot find plug-in with UUID:CD12F888-C52B-4257-8717-8092E5F5AC43
Oct 20 11:49:34 ChrisMacBookAir-2.local SpringBoard[77841]: Hub connection error Error Domain=NSCocoaErrorDomain Code=4099 "The operation couldn’t be completed. (Cocoa error 4099.)" (The connection to service named com.chrisntr.daysuntilxmasios.TodayExtension was invalidated.) UserInfo=0x7f94dd300aa0 {NSDebugDescription=The connection to service named com.chrisntr.daysuntilxmasios.TodayExtension was invalidated.}
Oct 20 11:49:34 ChrisMacBookAir-2.local SpringBoard[77841]: plugin com.chrisntr.daysuntilxmasios.TodayExtension invalidated
Oct 20 11:49:34 ChrisMacBookAir-2.local SpringBoard[77841]: Could not signal service com.chrisntr.daysuntilxmasios.TodayExtension: 113: Could not find specified service
Oct 20 11:49:34 ChrisMacBookAir-2 assertiond[77845]: assertion failed: 14A388a 12A365: assertiond + 11619 [03CE1BE5-ACCB-3989-A453-41D167A25E66]: 0x1
Oct 20 11:49:34 --- last message repeated 1 time ---
Oct 20 11:49:34 ChrisMacBookAir-2.local SpringBoard[77841]: [MPUSystemMediaControls] Updating supported commands for now playing application.
Oct 20 11:49:34 ChrisMacBookAir-2.local CalendarWidget[77901]: Failed to inherit CoreMedia permissions from 77841: (null)
Oct 20 11:49:47 ChrisMacBookAir-2 assertiond[77845]: assertion failed: 14A388a 12A365: assertiond + 11619 [03CE1BE5-ACCB-3989-A453-41D167A25E66]: 0x1
Comment 1 Shruti 2014-10-28 03:40:17 UTC
I have tried this issue but not able to reproduce it. I did following steps :
1. Create an iPhone SingleView project.
2. Add new project of Today Extension in the solution.
3. Add reference of extension project to singleview project.
4. Deploy app on simulator iPhone 5S iOS 8.0. I tried this step 4-5 times.

In my case, iPhone 5S iOS 8.0 simulator is starting but app is not deploying on simulator and not getting any error/exception.

Screencast regarding same : http://screencast.com/t/R8lVERxyMg

Build Output of first attempt : https://gist.github.com/Shruti360/c85ce7c7a2a7b9540d0f

Environment Info : 
=== Xamarin Studio ===

Version 5.5.3 (build 6)
Installation UUID: 67eaf3b4-f8a7-4ab4-a9df-3197350ca5dc
Runtime:
	Mono 3.10.0 ((detached/47db868)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000019

=== Xamarin.Android ===

Version: 4.18.0 (Business Edition)
Android SDK: /Users/ixamarin78/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.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 6.0.1 (6528)
Build 6A317

=== Xamarin.iOS ===

Version: 8.4.0.15 (Business Edition)
Hash: 08968c4
Branch: 
Build date: 2014-10-20 21:48:06-0400

=== Xamarin.Mac ===

Version: 1.11.0.1 (Business Edition)

=== Build Information ===

Release ID: 505030006
Git revision: fbe3e9453daf6a3bb9a9709ed22bec35f7c9056b
Build date: 2014-10-23 13:08:38-04
Xamarin addins: e44add2b39de4dd57c0742bb2e620dfad84c64c6

=== Operating System ===

Mac OS X 10.9.4
Darwin XamnewiMac.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


Please let me know If I missed anything to reproduce this issue.
Comment 2 Chris Hardy [MSFT] 2014-11-05 19:46:09 UTC
This is what it looks like for me: http://screencast.com/t/5bVxegvs17o

This probably has something to do with a race condition with installation/uninstalling and the plugin removal from the logs here: https://gist.github.com/chrisntr/b021ec3ddbd9aefb7a40
Comment 4 Sebastien Pouliot 2016-05-26 00:05:07 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!