View Single Post
I can build the TextEditor sample on Xcode 4.2.1 (according to the instruction in README). However, when running the sample, I saw lot of assert fail messages on console. Below are some of them.

----

ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIDocumentPickerBackgroundView.m:58
ASSERT failed: requires 'disclosureImage != nil', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIDocumentPicker.m:1836
2012-01-28 17:26:04.685 TextEditor[13718:1a603] Still need to port -[OUIDocumentPicker updateTitle] at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIDocumentPicker.m:1335: Make sure this gets called as the selection changes, documents are added/removed, whatever.
ASSERT failed: requires 'appMenuImage', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIAppController.m:278
2012-01-28 17:26:04.689 TextEditor[13718:1c203] Still need to port OFSDocumentStoreFileItem *_addFileItemWithURL(OFSDocumentStore *, NSMutableDictionary *, NSMutableDictionary *, NSMutableDictionary *, NSURL *, NSDate *) at /Users/test/OmniGroup/Frameworks/OmniFileStore/OFSDocumentStore.m:1039: Why are we redundantly checking the UTI of this file?
2012-01-28 17:26:04.690 TextEditor[13718:1c203] Still need to port OFSDocumentStoreFileItem *_addFileItemWithURL(OFSDocumentStore *, NSMutableDictionary *, NSMutableDictionary *, NSMutableDictionary *, NSURL *, NSDate *) at /Users/test/OmniGroup/Frameworks/OmniFileStore/OFSDocumentStore.m:1052: Since the result of this is controlled by the filter UI in the document picker, we should have different API to pass in an immutable mapping of UTI->Class or otherwise ensure this is thread-safe.
2012-01-28 17:26:04.733 TextEditor[13718:1a603] Still need to port __block_global_9 at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUISingleDocumentAppController.m:658: If the user turns iCloud off and then back on, we could still end up moving sample documents into iCloud
[Switching to process 13718 thread 0x1e107]
ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIDocumentPickerBackgroundView.m:58
ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIToolbarButton.m:19
ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIToolbarButton.m:26
ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/Inspectors/OUIInspector.m:87
ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIDocumentPickerBackgroundView.m:58
ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIDocumentPickerBackgroundView.m:58
ASSERT failed: requires 'image', at /Users/test/OmniGroup/Frameworks/OmniUI/iPad/OUIDocumentPickerBackgroundView.m:58

-----


Please tell me where I can get the images or how I can fix this issue.


Thanks.