Custom application data is ignored when launching app in iOS simulator

Originator:Vytis
Number:rdar://23500433 Date Originated:11-Nov-2015 07:33 PM
Status:Duplicate of 18050217 (Open) Resolved:
Product:Developer Tools Product Version:Xcode 7.2 beta 2 (7C46t)
Classification:Serious Bug Reproducible:Always
 
Summary:

Scheme settings provide an option to override application data (Product->Scheme->Edit Scheme->Options->Application Data). It works as expected on real device, but doesn't do anything on simulator.

Steps to reproduce:

1. Make an .xcappdata bundle with application data
2. Add it to an Xcode project
3. Select the data bundle in scheme options (Product->Scheme->Edit Scheme->Options->Application Data)
4. Launch the app on Simulator

Expected results:

App is launched with supplied application data

Actual results:

Application data is not changed

Xcode version:

Xcode 7.2 beta 2 (7C46t)

Notes:

Added an example project that fetches a string from user defaults. Two versions of application data is added to the project.

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!