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 8556161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:17:00+00:00 2026-06-11T15:17:00+00:00

I am using the universal framework from the link https://github.com/kstenerud/iOS-Universal-Framework . It am including

  • 0

I am using the universal framework from the link https://github.com/kstenerud/iOS-Universal-Framework. It am including the core data managed object model and other model classes inside the framework itself. But, I am having serious trouble to migrate the model. I have a single momd file like Model.xcdatamodeld and inside it are versioned model which are named like 1.xcdatamodel, 2.xcdatamodel, 3.xcdatamodel and so on. I have also included the model in compile sources in the build phases inside the library.

I have also the options set for the model to infer the migration automatically. Although the model is inside the framework, it needs some reference inside the main application bundle and so I have created a link to point the file inside the framework. But, I could not get migration working. Is there some thing serious, I am missing or is it not possible to reference the modal inside the framework to migrate automatically.

Any help would be greatly appreciated.

  • 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-06-11T15:17:01+00:00Added an answer on June 11, 2026 at 3:17 pm

    I have a solution to the problem. However it seems much like a hack. I am now referencing to the model using the modal version directly as,

    NSURL *modelURL = [[[NSBundle mainBundle] resourceURL] URLByAppendingPathComponent:@"Modals.momd/3.mom"];
    _managedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL];
    

    But, I am not very happy with this solution. Is there some better way to achieve this ?

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

Sidebar

Related Questions

I'm building my own iOS framework using this package: https://github.com/kstenerud/iOS-Universal-Framework This may be a
I'm using core data in our iOS universal application and want the ability for
My Application is using Core Telephony Framework.My application is a universal app and supports
I have a question about using HTTPS in a JBossAS7 web application (a universal
The following code is from a tutorial ( http://net.tutsplus.com/php/creating-a-php5-framework-part-1/ ), not mine. I have
Anyone have an idea? I am using this http://vimeo.com/api/docs/player#universal on a right click on
I am little bit confused about creating universal application for iOS devices using Xcode
How can i create universal apps using xcode 3.2.6 in Landscape mode bydefault?I need
I am developing an application. I am creating the Universal Application using the Single
I am using APNS service in my universal app (iPhone/iPad) and i am not

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.