Bug 40465 - Background fetch not supported yet when using Xcode 7 in Community Edition 5.10.3
Summary: Background fetch not supported yet when using Xcode 7 in Community Edition 5....
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: XI 9.6 (iOS 9.3)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2016-04-17 01:52 UTC by Jean Jimenez
Modified: 2016-06-23 09:28 UTC (History)
5 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 Jean Jimenez 2016-04-17 01:52:54 UTC
Description of Problem:

Steps to reproduce the problem:
1. Run a project with IOS Simulated Background Fetch Debugger  
2. Click menu option to Simulate IOS Background Fetch

Actual Results: 

Background fetch not supported yet when using Xcode 7 message appear in the Application Output window. PerformFetch method of AppDelegate is not triggered.  

Expected Results:

PerformFetch method of AppDelegate should be triggered after click in Simulate IOS Background Fetch option of Run menu.

How often does this happen? 

Each time we do a click in Simulate IOS Background Fetch option of Run menu

Additional Information:

It was working well during trial test of Professional Edition
Comment 1 Jeffrey Stedfast 2016-04-19 18:02:25 UTC
Pretty sure that error message is coming from the app running in the simulator and not Xamarin Studio, so this is probably the Xamarin.iOS runtime.
Comment 2 Sebastien Pouliot 2016-04-20 02:15:32 UTC
This should be fixed since 9.4.1 (C6 SR1) and never was related to a specific minimal license (every edition had it).

Please provide what versions* of the tools you're presently using.

* 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 3 Jean Jimenez 2016-04-22 01:53:32 UTC
I was using the last community release version that can be downloaded from Xamarin site 10.5.3 and Background Fetch was not working in the simulator. Then I decided to upgrade to version 6.0 Build 4968 and the problem was solved and the Background fetch started to work in the simulator. Next I did the deploy to my device but for some unknown reason Background fetch is not triggered after several hours of waiting.
Comment 4 Jayden Spring 2016-05-17 14:27:47 UTC
Hi I have Indie - and too am getting this error.

=== Xamarin Studio Indie ===

Version 5.10.3 (build 51)
Installation UUID: 0eeecbe7-3390-4572-8505-59100d825f7e
	Mono 4.2.4 (explicit/71b88f3)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402040004

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: (Xamarin Indie)
Android SDK: /Users/Jayden 1/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

Android Designer EPL code available here:

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 7.3.1 (10188.1)
Build 7D1014

=== Xamarin.iOS ===

Version: (Xamarin Indie)
Hash: d8bedd0
Branch: master
Build date: 2016-05-05 17:43:01-0400

=== Xamarin.Mac ===

Version: (Xamarin Indie)

=== Xamarin Inspector ===

Hash: 0bbef0d
Branch: master
Build date: Thu Dec 24 17:34:23 UTC 2015

=== Build Information ===

Release ID: 510030051
Git revision: f3c0d982165f785772d125f02668370d929014fb
Build date: 2016-03-24 18:51:31-04
Xamarin addins: ee5cfd3ecb6b20de47c1d25efb9a9abc101e8ce7
Build lane: monodevelop-lion-cycle6-c6sr3

=== Operating System ===

Mac OS X 10.11.4
Darwin Jaydens-iMac.local 15.4.0 Darwin Kernel Version 15.4.0
    Fri Feb 26 22:08:05 PST 2016
    root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
Comment 5 Rolf Bjarne Kvinge [MSFT] 2016-06-23 09:28:33 UTC
Simulating background fetch is not supported on device, only in the simulator (which according to comment #3 is working), so I'm closing this bug.

Background fetch events on device are received as Apple sends them, so we don't have any control there.