Test Application Data is not copied to the iOS Simulator
Originator: | ashton.john.williams | ||
Number: | rdar://21298033 | Date Originated: | 09-Jun-2015 |
Status: | Open | Resolved: | |
Product: | Developer Tools (Xcode) | Product Version: | 7.0 beta (7A121l) |
Classification: | Serious Bug | Reproducible: | Always |
Xcode Version 7.0 beta (7A120f) Summary: Test Application Data bundles allow you to capture the persisted state of an application from a device. In Xcode, schemes allow you to select Test Application Data to install with the app when you Run it. This is useful for testing, and most importantly - testing CoreData migrations. This does not work in Xcode Version 7.0 beta (7A120f). This feature has not worked correctly since Xcode Version 6.0.1 (6A317). Selecting a Test Application Data bundle to run in the simulator would always present an error message, despite the message saying it will work the "next time you run your app". A few versions later this message is not shown and the problem persists. Steps to Reproduce: Steps to Reproduce: 1. Install Version 7.0 beta (7A120f) (or greater than or equal to Version 6.0.1 (6A317)). 2. Extract files and Xcode Project in attached 'ApplicationPackageTest' zip file. 3. Run test.sh 4. Open the xcode project and run tests on the various shared schemes. Expected Results: Scheme 'With Container' passed tests. Simulator now contains data. Actual Results: Scheme 'With Container' fails tests. No data is copied to the simulator. Version: Xcode Version 7.0 beta (7A120f) Notes: Configuration: Attachments: 'ApplicationPackageTest.zip' was successfully uploaded. Sample source code available here https://github.com/Ashton-W/rdar_ApplicationDataPackage
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!
still an issue with Xcode 8.3.2 (8E2002). Duplicated (radar://31880681)
Still present in Xcode Version 8.0 beta 2 (8S162m)
Still present in Xcode Version 7.3 (7D175)
Still present in 7.1.1
Still present in Xcode Version 7.0 beta (7A121l) (Beta 2)