Re: Problem loading a CoreDataModel from a Static library in Swift
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