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

  • Home
  • SEARCH
  • 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 7527875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:13:10+00:00 2026-05-30T04:13:10+00:00

We developing a iOS app that uses CoreData. To keep ourselves from going crazy

  • 0

We developing a iOS app that uses CoreData. To keep ourselves from going crazy and having to delete the app every time we make a change to the models, we have been using lightweight migrations. At this point we have about 30 or so migrations and are getting ready to submit for review.

Looking at the .ipa file it looks like all of these migrations exist in there as separate files. I was wondering if there is any easy way to collapse all of these migrations into a single model file now that we are done with development and ready to ship 1.0.

  • 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-30T04:13:12+00:00Added an answer on May 30, 2026 at 4:13 am

    A colleague of mine figured it out so I thought I would share it here.

    1. Open the project and right click on the .xcdatamodeld, and delete it (just the references) from the project
    2. Open the finder and find the .xcdatamodel, right click on it and show contents of package
    3. Delete all of the migrations that you don’t need
    4. Go back into Xcode and add in the root .xcdatamodeld into your project
    5. Test
    6. Commit your changes

    Done.

    Anyone doing this I would highly recommend making a backup (or using version control such as git) to protect yourself against inadvertent mistakes.

    I am sure glad not to have to ship 30 odd dev migrations to our 1.0 customer!!!

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

Sidebar

Related Questions

I'm developing web-application (and also native iOS app) that uses images from different websites.
So I'm developing in Xcode for iOS, and EVERY APP that I run in
I'm developing a web app that apparently is having problems in iOS devices. The
I'm developing an ios app that's very basic and uses objective almost all of
I'm developing an app that uses iOS4 features (like MFMessageComposeViewController), but I want to
I'm developing a report engine for iOS devices which uses CoreData. I wish release
I'm developing an iPhone (and later Android) app that has real-time features, i.e. when
I am developing an iOS app. How can I know the current section that
I'm developing a iOS based enterprise app. The client is going to install the
I'm developing an IOS app that creates files on the device, e.g. with NSKeyedArchiver

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.