Skip to content

Instantly share code, notes, and snippets.

@blakewatters
Created May 17, 2013 18:34
Show Gist options
  • Save blakewatters/5601038 to your computer and use it in GitHub Desktop.
Save blakewatters/5601038 to your computer and use it in GitHub Desktop.
GateGuru Seed Database Import for GateGuru
2013-05-17 14:30:09.619 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:163 Persistent store reset requested before importing. Deleting existing managed object instances...
2013-05-17 14:30:09.667 Generate Seed Database[25343:c07] I restkit.core_data:RKInMemoryManagedObjectCache.m:94 Caching instances of Entity 'Airline' by attributes 'airlineID'
2013-05-17 14:30:10.042 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:226 Imported 1639 objects from file at path '/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Generate Seed Database.app/SeedJsonFiles/airlines.json'
2013-05-17 14:30:10.152 Generate Seed Database[25343:c07] I restkit.core_data:RKInMemoryManagedObjectCache.m:94 Caching instances of Entity 'Airport' by attributes 'airportID'
2013-05-17 14:30:12.322 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:226 Imported 4039 objects from file at path '/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Generate Seed Database.app/SeedJsonFiles/airports.json'
2013-05-17 14:30:12.344 Generate Seed Database[25343:c07] I restkit.core_data:RKInMemoryManagedObjectCache.m:94 Caching instances of Entity 'Terminal' by attributes 'terminalID'
2013-05-17 14:30:12.605 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:226 Imported 621 objects from file at path '/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Generate Seed Database.app/SeedJsonFiles/terminals.json'
2013-05-17 14:30:12.690 Generate Seed Database[25343:c07] I restkit.core_data:RKInMemoryManagedObjectCache.m:94 Caching instances of Entity 'Gate' by attributes 'gateID'
2013-05-17 14:30:16.621 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:226 Imported 10686 objects from file at path '/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Generate Seed Database.app/SeedJsonFiles/gates.json'
2013-05-17 14:30:16.650 Generate Seed Database[25343:c07] I restkit.core_data:RKInMemoryManagedObjectCache.m:94 Caching instances of Entity 'Service' by attributes 'serviceID'
2013-05-17 14:30:18.829 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:226 Imported 6076 objects from file at path '/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Generate Seed Database.app/SeedJsonFiles/services.json'
2013-05-17 14:30:19.266 Generate Seed Database[25343:c07] I restkit.core_data:RKInMemoryManagedObjectCache.m:94 Caching instances of Entity 'Amenity' by attributes 'amenityID'
2013-05-17 14:30:27.379 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:226 Imported 15841 objects from file at path '/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Generate Seed Database.app/SeedJsonFiles/amenities.json'
2013-05-17 14:30:27.382 Generate Seed Database[25343:c07] C app:GSDAppDelegate.m:70 Finished with JSON processing. Finishing import by connecting relationships and indexing managed objects...
2013-05-17 14:30:27.388 Generate Seed Database[25343:c07] I restkit.core_data:RKManagedObjectImporter.m:271 Starting 27148 connection operations...
2013-05-17 14:30:40.345 Generate Seed Database[25343:c07] I restkit.search:RKSearchIndexer.m:363 Managed object context did save notification received. Checking changed and inserted objects for searchable entities...
2013-05-17 14:30:40.355 Generate Seed Database[25343:c07] I restkit.search:RKSearchIndexer.m:371 Indexing 38902 changed objects
2013-05-17 14:30:53.077 Generate Seed Database[25343:2bb0b] I restkit.search:RKSearchIndexer.m:322 Indexing completed. Saving indexing context...
2013-05-17 14:31:00.672 Generate Seed Database[25343:c07] C restkit.core_data:RKManagedObjectImporter.m:295 A seed database has been generated at '/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Documents/GateGuruSeed.sqlite'. Please execute `open "/Users/blake/Library/Application Support/iPhone Simulator/6.1/Applications/33E428B1-0B8D-4E64-BD3C-2BD7A3D50F69/Documents"` in your Terminal and copy GateGuruSeed.sqlite to your app. Be sure to add the seed database to your "Copy Resources" build phase.
38902 objects imported
27148 objects with relationships connected
38902 objects indexed for search
9.3M SQLite Seed Database
Total Execution Time: 51 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment