Address book on simulators in Xcode6GM (all of them) cannot read iOS8 device AddressBook SQLite files

Originator:spector
Number:rdar://18346607 Date Originated:15-Sep-2014 08:28 PM
Status:Open Resolved:
Product:IOS SDK Product Version:Xcode Version 6.0 (6A313) and iOS8 GM
Classification:Serious Bug Reproducible:Always
 
Summary:
Address book SQLite files cannot be taken from an iOS8 device and used in Xcode Version 6.0 (6A313) GM simulators; however sqlite  files from iOS7 devices versions of the AddressBook SQLite DB work fine.

Steps to Reproduce:
1. Copy AddressBook and AddressBook image DBs from an iOS7 device to the appropriate Library/AddressBoo simulator directory.

2. Launch  the simulator and go into the simulator's Address Book app; your address book will be present.

3. Reset the sim and erase all contents.

4. Replace the same address book SQLite files from an iOS8 device and launch the simulator, opening the address book app again.  The address book will be empty. 

Expected Results:
I should be able to take Address Book SQLite files from a backup of an actual iOS device and use them as part of my development process in the iOS simulator.

Actual Results:
Address books appear to be empty.  Clearly the on-device version of libSQLlite is *different* than the one used in Xcode Version 6.0 (6A313) and it's simulators.

Version:
Xcode Version 6.0 (6A313) and iOS8 GM

Notes:


Configuration:
2 iOS devices: one running iOS7.1.x and another running iOS8GM

Attachments:

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!