Note that there are some explanatory texts on larger screens.

plurals
  1. POBest way to move a project into a new project
    text
    copied!<p>I have not found any answer to why I cannot add a data model to an existing project. So given the fact that creating a project from scratch using core data for storage does create the data model correctly I am trying to move the entire project into a new project that contains the data model.</p> <p>No matter how I try to do it at some point it will the new project will not build. In my first attempt I tried just dragging an dropping from one to the other, clean all targets and build... disastrous.</p> <p>After trying several different approaches, the closest I came to success was as follows...</p> <ol> <li><p>created the new project (same name as my existing project)</p></li> <li><p>link the necessary frameworks</p></li> <li><p>copy the resources, ie plists, icons, picts</p></li> <li><p>create all the classes in the new project</p></li> <li><p>copy the contents of each .f &amp; .m files of each class that does not reference any other class. For each class delete the .xib file and copy the .xib file from the existing project, clean all targets, check all links in the .xib, build.</p></li> <li><p>work my way through the remaining classes as in step 5 making sure that any referenced classes are always created first.</p></li> </ol> <p>Following this methodology I get to my last 2 classes and get a symbol(s) not found error on a reference back to one of the first classes I created. This error as far as I can tell has something to do with not having a framework properly linked, but I can't figure out how to fix it.</p> <p>Is there a better way to do this. </p> <p>I have a tech request in to apple on my data model problem, but can't afford to sit around and wait for their response.</p> <p>Thanks for any help.</p> <p>John</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload