Search results for

NSCocoaErrorDomain Error Code 4

170,013 results found

Post

Replies

Boosts

Views

Activity

SSL Issues using NSURLConnection and iOS9
Hello,Downloading the iOS 9 beta seems to have broken all of our NSURLConnection callsthis is the error we get CFNetwork SSLHandshake failed (-9824)NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)this is working fine with IOS 8.3We also have a test site that is not HTTPS simply HTTP for internal testing and it gives the error:Application Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.can the developers comment on these? Anyone else seeing this?
0
0
1.7k
Jun ’15
Your Apple ID isn't enabled for iTunes Connect
I am a Team Agent, yet when I try to login to iTunes Connect, I get the error, Your Apple ID isn't enabled for iTunes Connect.I recently changed the email address associated with this account, which could be the source of the problem, but I have no problems logging into the Development Membership Center, and my previous email address/login no longer work.Any suggestions on how a Team Agent can get access to iTunes Connect again?Thanks.
8
0
19k
Jun ’15
App special events
Some apps have special events that appear without an update to the app. I'm sure there's numerous ways to go about doing this but this is the way i've thought of; is there a more efficent way?Set a timer for the event start and stop and all of the code that utilizes this eventExmaple: code in a timer for the Event to start July 1st at 00:00 EST and end July 7th 23:59 EST and as long as that time is true the event will take place. Then on the next update simply remove the code for that event to free up some memory unless you plan on using that event again in the future.I'm not looking for any code here. Just thoughts about more efficent ways, if any, to do events like this without releasing an update. Thanks
1
0
360
Jun ’15
Why is Swift 2 switching from reStructuredText to Markdown?
I'm sure I'm not alone in thinking that Swift had made an excellent choice in going with reStructuredText for doc comments. I know Markdown is more ubiquitous, but it's also somewhat ill-defined and isn't particularly well-suited to long-form text. The use of reStructuredText promised to have a much more standardized way of writing documentation that could be very expressive and support extensions in a well-defined way (e.g. so documentation tools could define extensions you could use in your code).The only real concrete benefit to using Markdown is unifying it with Playground rich comments, but it seems to me that Playground rich comments should have just been using reStructuredText to begin with (or perhaps could have had a toggle in the document inspector for comment style, if there's a real need to support Markdown here, although I don't know what that need would be).
4
0
1.6k
Jun ’15
Drawing a single character with Core Text
I'm trying to rebuild a method to draw a single character as an image for an applicaiton icon. This previously worked with UIGraphics calls, but because of image orientation issues and the nil ContextRef warnings, I want to use a cleaner solution. I found this code to draw the text image online (credit raywenderlich.com):CGContextRef context = UIGraphicsGetCurrentContext(); CGMutablePathRef path = CGPathCreateMutable(); //1 CGPathAddRect(path, NULL, self.bounds ); NSAttributedString* attString = [[NSAttributedString alloc]initWithString:@A]; //2 CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString((CFAttributedStringRef)attString); //3 CTFrameRef frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, [attString length]), path, NULL); CTFrameDraw(frame, context); //4 CFRelease(frame); //5 CFRelease(path); CFRelease(framesetter);I've dynamically determined what I thought was a centered CGRect that will fit in my bounds. However, the text shows up VERY small at the top l
3
0
1.9k
Jun ’15
in app content Signing Identity
Hi everybody, I've been having a strange issue with creating new in app content for my app. Even when i try to validate and upload an empty in app content file, i get this error:Signing Identity: Not Signed.But if I try to validate and upload my regular app in the same fashion, i don't get a signing error. I'm not sure why it's not getting signed correctly... i've made sure my provisioning and other signing stuff is current and working.Any help would be greatly appreciated!thanks,Daniel
3
0
396
Jun ’15