Search results for

NSCocoaErrorDomain Error Code 4

170,038 results found

Post

Replies

Boosts

Views

Activity

Reply to Companion app has problems with Watch OS 2.0
The icons of the stock apps are now after several minutes also in the companion app visible. But still I have problems with the settings. I wanted to ad some photos to test the new custom watch face. It gives me the error message that I must first select the photo library on my iPhone. There I have the same setting like I had in 1.0.1 where it worked. But now I can change in the companion app as much as I want the photos wont be synced to the watch. I put the watch also on the charger but without success.
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to How do I run the project migration on an old project?
Well, first thing...and sorry to say this: XCode will not automatically 'port your Apple Watch code. All you really have to do is create new apple watch target. XCode will do that for you and then you must copy all your code and xib's, assets, storyboards yourself. Apple says this in their transition to watchos2 document.(Sorry, i don't know how to reactivate migration assistant but this is the answer you will end up with anyway...migration really isn't migration with XC7)
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Asynchronous Design Patterns with Blocks GCD
Sorry I can't point you to any sample code off the top of my head, but this sounds like a perfect application of NSOperationQueue and operation dependencies. You could add an operation for each download. You can set the max concurrent operations to limit the number of concurrent requests but still have parallelism. You could add your processing operation with an operation dependency on each of the download operations so it wouldn't start until all the downloads were completed.Posting sample code to show multi threading synchronization is fraught with peril anyway since every situation is different. But in general, if you are accessing a common data structure from multiple threads, you add a synchronization primitive around each and every access to that data structure (read or write), and try and ensure that you don't deadlock. Don't hold the lock while you're doing a long network operation, for example - do the network operation, then lock / update / unlock. I use Obj-C so I've been doing it
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Disable button not working
I am new to iOS app development and recently I was making a simple login app whose interface looks like this:http://imgur.com/W3nxMEGI just want the Login button to take me to the next ViewController only when:1) All fields are filled2) Passwords matchI created a pointer modButton that is hooked with the Login butotn in the storyboard. I disabled it in the loginButton action method but it doesnt seem to work.link to my code: imgur.com/01Y6X6UAnybody willing to help me solve this issue?Regards
2
0
786
Jun ’15
Reply to Can you upgrade from a 10.10.4 beta?
You can. I did and the update process did work fine for me after the invitation code being unlocked for the German AppStore.But I found, 10.11 has way more bugs than 10.10.4 beta, so, for example, for me, Photos is not launching anymore and I got a problem with iCloud mail in Mail while all other accounts I got in there continue to work fine.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Passing Data from View Controller to Label in TableView
Not sure why you're trying to assign two things on the same line there. You should use separate assignment statements for clarity. In any case, you can't assign directly to your destination view controller's UI widgets from prepareForSegue. (It's bad style - a violation of MVC - but more importantly, the view has not yet been loaded at that point, so any outlets will be nil.)prepareForSegue should pass data / info to the child - here is the information you should display. It is up to the child to decide how and when to display it. Could be a UILabel, a UITextView, a UIButton, render fancy graphics into a UIImage, whatever - the parent should not know or care. The child should usually do this (populate its UI widgets based on the data it is supposed to display) in viewWillAppear.I have no idea what that repeating content error message means, but I suspect you have done something funky / non standard in the way you've set up your outlets. Might be worthwhile to watch some videos where they do it (e.g.
Jun ’15
Get X509 Data without OpenSSL
I previously would check if one certificate signed another (used to construct a certificate chain, NOT to validate), using the following code to create the data representation for the leaf certificate: CFDataRef data = SecCertificateCopyData(certificate); const UInt8 *buffer = CFDataGetBytePtr(data); X509 *x = X509_new(); d2i_X509(&x, &buffer, CFDataGetLength(data)); CFRelease(data); int length = i2d_X509_CINF(x->cert_info, NULL); unsigned char *info = malloc(length), *infoPtr = info; i2d_X509_CINF(x->cert_info, &info); X509_free(x); return CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, infoPtr, length, kCFAllocatorMalloc);OpenSSL is now gone from 10.11, is there another method of creating this representation?I didn't see anything like this in CryptoCompatibility
7
0
2.5k
Jun ’15
Dev Account & Dev Support Problems?
I'm unable to log into my dev account, and I get an error message saying There may be a problem with your account. Please contact us.... But it seems all dev support links to contact Apple (such as Request assistance with sign in issues) aren't working... Is anyone else having this problem too?
2
0
344
Jun ’15
iBooks won't login to iCloud
When i open iBooks, it show me a windows to login with my icloud ID. When i press enter, the windows disappears and become gray, with the name window and a spinning wheel (not when it crash, but when it's thinking/connecting). Then it comes back with the same login screen and the text An unknow error occured. When i close this window, iBooks hang and i have to force close the program.Console info:09-06-15 19:32:01,755 storeaccountd[567]: ADI: { Connection = keep-alive; Content-Length = 20; Content-Type = application/x-dmap-tagged; Date = Tue, 09 Jun 2015 17:31:59 GMT; Strict-Transport-Security = max-age=31536000; apple-timing-app = 5 ms; server-cloud-daap-version = 1.0; x-apple-application-instance = 404602; x-apple-application-site = ST11; x-apple-jingle-correlation-key = P6GIJJU424NU6YWNKOWSGTFHTI; x-webobjects-loadaverage = 0;}09-06-15 19:32:01,000 kernel[0]: Sandbox: iBooks(1543) deny(1) mach-lookup com.apple.dock.appstore09-06-15 19:32:01,763 iBooks[1543]: Could not find image named 'NSImage'.09
1
0
782
Jun ’15