yepher / coredatautility Goto Github PK
View Code? Open in Web Editor NEWAn OSX application that simplifies development and debugging of CoreData enabled applications.
An OSX application that simplifies development and debugging of CoreData enabled applications.
๐
Thanks for the work on this. the tool looks very useful. Can you provide a little more info on the modelURL in the workaround for XCode 6 and the generation of the .cdp file?
I can launch the generated file and see my schema, however there is 0 data. I have tried the full path of the mom file (without filename), full path of mom file (with correct file name - fitboardData.mom), and also tried omitting file:// at the start of the path. All 3 scenarios yield an empty model, yet my app has core data objects, and the core data mom file DOES exist in the location specified by the cdp file.
I am using CoreDataPro 1.4 (7) and here is an attempt at my generated cdp file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>modelFilePath</key>
<string>file:///Users/matt/Library/Developer/CoreSimulator/Devices/013354DF-0911-4BB9-A6FD-4EFB9127F338/data/Containers/Bundle/Application/0BCB8189-F58D-4142-B121-737FE5178E95/GroupNerds.app/fitboardData.momd/fitboardData.mom</string>
<key>storeFilePath</key>
<string>file:///Users/matt/Library/Developer/CoreSimulator/Devices/013354DF-0911-4BB9-A6FD-4EFB9127F338/data/Containers/Data/Application/515FD720-73E7-443B-B199-CCA18F343C3E/Documents/test.sqlite</string>
<key>storeFormat</key>
<integer>1</integer>
<key>v</key>
<integer>1</integer>
</dict>
</plist>
I'm creating my .cdp
file as shown in the ReadMe. It used to work just fine, but recently, I'm unable to view any data at all when I open the CoreDataPro viewer. I've confirmed that I'm using the correct URLs. My sql lite store and managed object model are present in the file system at the paths that I see in the .cdp
file. I'm not getting any errors from the CoreDataPro application, just an empty screen. I know my data is there, because I can see it when I open my sql lite store in sqllitebrowser
.
In new project window I can't select any type of file under File tab. When app start, sometimes I am able to select the File .app file and model but not the persistence file. Its like the button is dead and it wont open any Finder window. If I chose New Project then the .app file chooser button is also dead.
I am on Yosemite and have tried the July and Sep builds.
Having some critical problems here...
Love your tool. Thanks in advance for your help.
Me again :) This tool has been very helpful identifying my own CoreData problems, so thanks again.
Please see these screenshots below. In each of my entity tables, the first record has all NULL values. I believe that this is a display problem with CoreDataPro, as my app is behaving correctly and there are no validation errors anymore saving the context. I forked the repo and was going to try an debug it on my own and send a pull request, but my Dev team is not part of the Mac developer program (only iOS), so I'd have to pay $99 to help you debug this :)
Let me know if you've seen this before or if you need more info from me.
or insert whitespace before ':'.
When selecting a fetch request it is not added to the history.
Steps to reproduce:
Expected Result:
The history for Fetch Requests should perform the same way as entities.
Here it the trace (1800 is 'NSTransformableAttributeType'):
2013-03-09 19:05:49.984 CoreDataPro[7015:303] NSPredicatePattern cannot create operators for an NSAttributeDescription with type 1800
2013-03-09 19:05:49.986 CoreDataPro 7015:303 (
0 CoreFoundation 0x00007fff86dd60a6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff902a93f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff86dd5e7c +[NSException raise:format:] + 204
3 AppKit 0x00007fff8a373708 +[NSPredicateEditorRowTemplate _operatorsForAttributeType:] + 474
4 AppKit 0x00007fff8a373a1b +[NSPredicateEditorRowTemplate templatesWithAttributeKeyPaths:inEntityDescription:] + 478
5 CoreDataPro 0x0000000100023440 -[MFLMainWindowController showPredicateEditor:] + 1840
6 AppKit 0x00007fff89dd9a59 -[NSApplication sendAction:to:from:] + 342
7 AppKit 0x00007fff89dd98b7 -[NSControl sendAction:to:] + 85
8 AppKit 0x00007fff89dd97eb -[NSCell _sendActionFrom:] + 138
9 AppKit 0x00007fff89dd7cd3 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1855
10 AppKit 0x00007fff89dd7521 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 504
11 AppKit 0x00007fff89dd6c9c -[NSControl mouseDown:] + 820
12 AppKit 0x00007fff89dce60e -[NSWindow sendEvent:] + 6853
13 AppKit 0x00007fff89dca744 -[NSApplication sendEvent:] + 5761
14 AppKit 0x00007fff89ce02fa -[NSApplication run] + 636
15 AppKit 0x00007fff89c84cb6 NSApplicationMain + 869
16 CoreDataPro 0x0000000100001302 main + 34
17 CoreDataPro 0x00000001000012d4 start + 52
)
XML persistence type should not be available for iOS projects, because this type is not available on iOS
Awesome tool, just one question. Is CoreDataPro able to view NSOrderedSet relations? I'm not sure if it is because my setup or it is not yet available.
I just don't know which file is the persistence file. I run the project in simulator, and in the coredatautility I click the simulator app, choose the right app, but in the step 3, persistence file to load here, I choose the suggested Model.mom file here. and click open, I got "fatal error while opening persistent store". So which file and which file extension I should choose here?
As I understand the app is not going to the appstore, if it's true than it would be nice to remove unused code related to in-app purchases.
First - THANK YOU for creating this app and for updating it through Apple's changes to how simulators are stored. It's incredibly hard to figure out where to find one's app with the XCode 6 changes.
When I am attempting to select my app, I get a list of devices such as "iPad Retina", "iPhone 5", etc, and the list repeats, I assume for different versions of iOS.
It would be great if you could list the version of iOS along with the device as currently I have to hunt through the list for each instance of the device I'm testing against looking for my app.
It will be nice to create document based application.
The Cocoa document architecture provides your app with many built-in features, such as autosaving, asynchronous document reading and writing, file coordination, and multilevel undo support. In most cases, it is trivial to opt-in to these behaviors. If your app has particular requirements beyond the defaults, the document architecture provides many opportunities for extending and customizing your appโs capabilities through mechanisms such as delegation, subclassing and overriding existing methods with custom implementations, and integration of custom objects.
The user should be able to plug in their device and get a list of apps on the device. The user should be prompted for the list of files in the store file.
The user must not be required to jailbreak their phone.
The app "deviceconsole" will list the installed app.
See: https://github.com/imkira/mobiledevice
The user will need to store their *.mom and persistence file in a locations that ITunes can access it.
Programatic access seems possible with MobieDevice.framework.
CoreDataUtility should still be able to open an iOS Simulator project even if the app is uninstalled and reinstalled.
The problem is when an app is uninstalled from iOS it deletes the UUID that the .app and .mom files were in. Next time app is installed a new "UUID" is created.
If instead we tracked "iOS Simulator version", app name, and .mom file name we should be able to search through the list of apps for a given version of the simulator and still open the project.
Instead of pointing directly to .app and .mom file instead point at the XCode project and parse it. Use that to determine where the .app and .mom files are located.
This will be very problematic as the project file changes.
I don't see Managed Object Models generated from Xcode 6.
Actual result:
only objects from step 2 are displayed
Result: the fields are empty
Also, I think it should be nice to save these fields content during the application restart (because often user works with one application for a long time)
Expected Result:
The index passed to [MFLCoreDataIntrospection entityDescription:index] should be 0 in this case.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.