Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 6.0.1 "Launch due to background fetch" scheme setting not working?

Tags:

xcode

ios

xcode6

Ok, I'm implementing background fetch and so far everything is good. The only problem that I face is that I cannot test the case when the app isn't running and is launched in the background. According to Apple you do this by simply duplicating your current scheme and checking the option "Launch due to background fetch": enter image description here However, in my case the app is still launched in the foreground like in the normal scheme. I tried to uncheck and check again the option, restarted the simulator and Xcode but the result is still the same. The version of XCode is 6.0.1 (6A317). Any suggestions? Anyone having the same problem?

Edit: The problem is still present in XCode 6.1 (6A1052d). I noticed that it works on an actual device, though. (Not sure if it worked on 6.0.1)

like image 520
AXE Avatar asked Oct 17 '14 08:10

AXE


1 Answers

This only works on a device, not on simulator.

like image 59
Theis Egeberg Avatar answered Oct 04 '22 18:10

Theis Egeberg