• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode 4 workspace with shared core data model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 4 workspace with shared core data model


  • Subject: Xcode 4 workspace with shared core data model
  • From: Martin Hewitson <email@hidden>
  • Date: Wed, 25 Jul 2012 09:18:04 +0200

Dear list,

I've just started playing with Xcode's workspace system, so forgive me if this is a trivial question.

My plan is to make a workspace with an OS X version of an app and an iOS version of the same app. These two apps will share a core data model. This is much like the WWDC12 sample code SharedCoreData.

My problem is that my core data model has versions, so it is a XXXX.xcdatamodeld file (really a folder on disk).

Both projects have a reference to this model. The problem I have is that if I change the current model version in one work project, then in the other project the model version appears as empty (sometimes I saw it show 'invalid' in light grey).

Has anyone else tried this? The sample code from Apple just has a single version core data model, and that works fine.

I haven't been able to compile and run both projects yet because I have some other issues about the property types which I have in the model and which don't work on iOS (NSImage).

Best wishes,

Martin


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Viewing PDF in Xcode
  • Next by Date: Re: Protecting memory
  • Previous by thread: Re: Viewing PDF in Xcode
  • Next by thread: Xcode 4.4 release build number?
  • Index(es):
    • Date
    • Thread