Xcode 6.1: "Launch due to a background fetch event" option doesn't launch the app in the background
| Originator: | AKMarinov | ||
| Number: | rdar://19090170 | Date Originated: | 27-Nov-2014 04:15 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6.1 (6A1052d) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: On Xcode 6.1 and 6.2, when a target has the option Launch due to a background fetch event checked, Xcode launches the simulator and brings the app to the foreground, as if the option is ignored. Additionally the - (void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler method is not invoked. Steps to Reproduce: 1. Run the attached project Expected Results: 1. Xcode should launch the app in the background of the simulator Actual Results: 1. Xcode launches the app normally, ignoring the target option Regression: The issue can be reproduced every time on Xcode 6.1, Xcode 6.2. The feature works ok on Xcode 5. All of this is on Yosemite. Notes:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!