Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6336393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:02:54+00:00 2026-05-24T19:02:54+00:00

I currently have an iOS app that can ‘bootstrap’ it’s database from a bunch

  • 0

I currently have an iOS app that can ‘bootstrap’ it’s database from a bunch of pList files (which I use during development when there are db changes) or copy a pre-existing database for the first run on a device (I use the database that was created in the simulator).

This is getting messy: I have to flip flags to decide whether I’m bootstrapping or not, I don’t want to distribute a ‘bootstrap’ version by accident, and I don’t want to distribute the plists either (then the target device would have 3 copies of the data: the bundled db, the plists, and the writeable copy of the db).

What I would like to do is create a separate desktop app that uses the same object model. The plists would be used by the desktop app, which I would run to generate the db (or maybe even provide a GUI for DB tweaks!). The iPhone and desktop app would share the same data model. And the desktop app would write to the db that’s bundled with the iOS app, so I don’t have to remember to copy from the simulator.

So far, I have been able to find posts that say that this would be trivial to do… but a tutorial or tips would be helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T19:02:55+00:00Added an answer on May 24, 2026 at 7:02 pm

    Sasha,

    I made a new target in my existing project and was able to create my bootstrapped Core Data DB. It wasn’t hard at all. You reuse most of your existing code.

    Andrew

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a DetailsView in ASP.NET that gets data from the database based
I’m currently creating an iOS app that uploads files to a server. As multiple
I currently have an MS Access application that connects to a PostgreSQL database via
I have an app that works fine in iOS 4, but there is a
I have an ad-hoc deployment of my iOS game, which includes in-app purchase. It
I'm currently developing an iOS app and have reached the point where I need
I have an app that loads while a 2 second movie plays. Currently the
Basically I have an iOS app that I want to find the parliamentary constituency
I currently have an existing database and I am using the LINQtoSQL generator tool
I currently have a functioning in-house Windows Forms application which extensively uses the DataGridView

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.