• 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
Re: Problem loading a CoreDataModel from a Static library in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem loading a CoreDataModel from a Static library in Swift


  • Subject: Re: Problem loading a CoreDataModel from a Static library in Swift
  • From: Sixten Otto <email@hidden>
  • Date: Tue, 15 Dec 2015 07:41:49 -0700

You might want to include some of your code for loading the model, to make
this discussion less hypothetical.

Also, when you say that "ObjC works just fine", what does that mean?
Objective-C code in the same app that's trying to load the same model that
Swift code in that app can't load? Or some separate test written in
Objective-C?

On Mon, Dec 14, 2015 at 6:55 AM, Jim Adams <email@hidden> wrote:

> Not sure where to ask this question. I just started trying Swift to see
> how my company’s SDK could be integrated. I am getting this error:
> CoreData: Failed to load optimized model at path …/modle.omo’
>
> This is a static library with an associated bundle that contains the
> CoreData model. ObjC works just fine. The code seems to run but the
> warning/error is disturbing. I searched all over Google and only found a
> mention of the Google Maps SDK. There was no post of the solution other
> than re-compiling with Xcode 7. Since we already build with Xcode 7 I am at
> a loss. Anyone else seen this?
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Problem loading a CoreDataModel from a Static library in Swift
      • From: Jim Adams <email@hidden>
References: 
 >Problem loading a CoreDataModel from a Static library in Swift (From: Jim Adams <email@hidden>)

  • Prev by Date: Re: Unknown segue relationship: Prototype
  • Next by Date: Custom font for UIAlertAction
  • Previous by thread: Problem loading a CoreDataModel from a Static library in Swift
  • Next by thread: Re: Problem loading a CoreDataModel from a Static library in Swift
  • Index(es):
    • Date
    • Thread