magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

When I using MagicalRecord in my static library. It's build success and create framework library,but When I use it,it's can not worked #1256

Open blacknes opened 8 years ago

blacknes commented 8 years ago

When I using MagicalRecord in my static library project,It's build success and create framework library,but When I use it,it's can not worked

here is issues.someone who can help me?

Attempt to add read-only file at path file:///var/containers/Bundle/Application/299079EF-C6B5-4A51-8787-302E75FE0501/

Attempt to add read-only file at path file:///var/containers/Bundle/Application/299079EF-C6B5-4A51-8787-302E75FE0501/

... returned error Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo={NSUnderlyingException=disk I/O error, NSSQLiteErrorDomain=10} with userInfo dictionary { NSSQLiteErrorDomain = 10; NSUnderlyingException = "disk I/O error"; }

TestViewCon[4048:1054163] Error: disk I/O error 2016-09-02 16:46:51.460 TestViewCon[4048:1054163] Error: 10 2016-09-02 16:46:51.469 TestViewCon[4048:1054163] Error Message: The file couldn’t be opened. 2016-09-02 16:46:51.471 TestViewCon[4048:1054163] Error Domain: NSCocoaErrorDomain 2016-09-02 16:46:51.473 TestViewCon[4048:1054163] Recovery Suggestion: (null) 2016-09-02 16:46:51.482 TestViewCon[4048:1054163] Created new private queue context: <NSManagedObjectContext: 0x1668b080> 2016-09-02 16:46:51.484 TestViewCon[4048:1054163] Set root saving context: <NSManagedObjectContext: 0x1668b080> 2016-09-02 16:46:51.485 TestViewCon[4048:1054163] Created new main queue context: <NSManagedObjectContext: 0x1668b9e0> 2016-09-02 16:46:51.486 TestViewCon[4048:1054163] Set default context: <NSManagedObjectContext: 0x1668b9e0>

blacknes commented 8 years ago

I already put "XXX.xcdatamodeld" file in bundle file