• 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: Jim Adams <email@hidden>
  • Date: Tue, 15 Dec 2015 15:44:01 +0000
  • Thread-topic: Problem loading a CoreDataModel from a Static library in Swift

What I mean is that if I create an App using ObjC and include my library and bundle there is no error message. This message only happens with Swift based apps. Apparently The Google Maps SDK had the same issue but their resolution was sketchy.

> On Dec 15, 2015, at 9:41 AM, Sixten Otto <email@hidden> wrote:
>
> 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


_______________________________________________

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


References: 
 >Problem loading a CoreDataModel from a Static library in Swift (From: Jim Adams <email@hidden>)
 >Re: Problem loading a CoreDataModel from a Static library in Swift (From: Sixten Otto <email@hidden>)

  • Prev by Date: Custom font for UIAlertAction
  • Next by Date: Re: Custom font for UIAlertAction
  • Previous by thread: Re: Problem loading a CoreDataModel from a Static library in Swift
  • Next by thread: UIAdaptivePresentations with EventKitUI
  • Index(es):
    • Date
    • Thread