Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,634 results found

Post

Replies

Boosts

Views

Activity

Revert to Saved error messages
I am working on an App where after the user completes the Revert to Saved… time machine like dialog the system sends a bunch of error messages to the XCode console:Jun 9 20:16:52 BDM-2.local Mandelbrot[36183] <Error>: CGContextClipToRects: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.Jun 9 20:16:52 BDM-2.local Mandelbrot[36183] <Error>: CGContextSetFillColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update....None of these graphics commands are part of my code
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
255
Jun ’15
iCloud Login Fails?
When I go to Settings / iCloud, my AppleID is there, but when I tap the disclosure triangle/icon (>), iOS asks me my to Sign in with Apple ID (i.e., enter password for my Apple ID).I enter the password but get the error message/alert:Title: Verification FailedMessage: An unknown error occurredButtons: Cancel / Try AgainI tried updating my password at MyAppleID, to no effect.I have 2-step verification enabled.
5
0
4.1k
Jun ’15
Reply to Compound AND predicate for many to many relationship using SUBQUERY
I'm pretty sure you can't actually have a string value that matches two LIKE clauses like that without specify a wildcard in both of them.Because you're expected to supply the wildcards:LIKE The left hand expression equals the right-hand expression: ? and * are allowed as wildcard characters, where ? matches 1 character and * matches 0 or more characters. In other words, if you're trying to match Birthday party you need soething like Birthday* and *party as your two target values, or *birthday* and *party*.More importantly, if you're trying to make sure the same event matches both Birthday* and *party then you needSUBQUERY(event, $x, $x.event LIKE[d] Birthday* && $x.event LIKE[d] *party).@count > 0That's the more common use for subquery, by the way. When you have one of the objects in the event to-many relationship and you want to make sure that the same object satisfies multiple criteria.The way you have it specified it,SUBQUERY(event, $x, $x.event LIKE[d] Birthday*).@count >
Jun ’15
How to get the comment of a Photo in a shared Album?
I have a shared album iCloudSharedAlbum using iCloud1. How do I get comments attached to a photo?2. How do I get the recently added comment on a photo I am observing? (Using PHPhotoLibraryChangeObserver protocol)I have been trying with the official sample: https://developer.apple.com/library/ios/samplecode/UsingPhotosFramework/Introduction/Intro.htmlI just changed a couple of lines to show shared albums (In AAPLRootListViewController awakeFromNib method)PHFetchResult *smartAlbums = [PHAssetCollection fetchAssetCollectionsWithType:PHAssetCollectionTypeAlbum subtype:PHAssetCollectionSubtypeAlbumCloudShared options:nil];I add a comment to the shared photo and wait for the changes to be reflected in the sample app.-[AAPLAssetGridViewController photoLibraryDidChange:] it IS called!. However changes are nil // self.assetsFetchResults is a list of photos I am showing. // There is only one photo in the list, the one being shared and the one the comment was just added PHFetchResultChangeDetails *collectionCha
1
0
726
Jun ’15
Reply to Compound AND predicate for many to many relationship using SUBQUERY
birthday and party are two separate events and they both could be selected in a single entry and it doesnt reduce to a single event called 'birthday party'. Using this app called 'Core Data Editor' I found out that my code was only taking one event where multiple are selected. So my store didnt have any entry with two events Birthday and Party! I guess I found where the bug is.
Jun ’15
iOS 9b1: Podcast app crashes on startup
iOS 9 beta 1 crashes on start up. The release notes don't state this issue. Curious if anyone has encountered this and found a workaround, or if anyone has any ideas for a workaournd outside of power cylcing and reinstalling? I've done the power cycle, but won't try wiping the device unless the update to beta 2 (in two weeks?) doesn't resolve the issue.
4
0
1k
Jun ’15