Search results for

eskimo

34,935 results found

Post

Replies

Boosts

Views

Activity

Reply to CFNetwork internal error
In general CFNetwork internal errors are just that, internal errors. The standard response is to file a bug describing the error. It'd be best if you included a small test project that illustrates the problem, hopefully pointing at a test server that reproduces the problem. If the relevant server isn't public, you should include a packet trace and a CFNetwork diagnostics log.If you do file a bug, please post your bug number here, just for the record.Is the error accompanied by an actual failure? That is, does the request work and you just get this error message? If so, it's reasonable to just ignore it.Finally, the error seems to be associated with how CFNetwork handles multipart/x-mixed-replace content. In general CFNetwork handles that reasonable well. Are you sure that your server is generated correctly formed multipart/x-mixed-replace content?Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to NSInvalidArgumentException while using NSNetService
This message means that someone has tried to allocate a memory block of size 18446744073709551615. Clearly that's a problem. You should use Xcode's exception breakpoint feature to set a breakpoint on Objective-C exceptions and then, when you hit the breakpoint, look at the backtrace to see who's making that call.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to NSURLSession not working in Xcode 7 the same code works in Xcode6
I suspect you're being affected by App Transport Security. To learn more watch:WWDC 2015 706 Security and Your AppsWWDC 2015 711 Networking with NSURLSessionAlso test on beta 2 and set up your Info.plist based on the documentation in App Transport Security Technote.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to Browsers crashing if RSA key is >4096 bits
I've definitely seen reports of problems like this before; alas, I don't have the bug number handy.Please try reproducing on the currently seeded OS releases (iOS 9.0b2 and OS X 10.11b2). If the problem reproduces there, I encourage you to file your own bug about this.Please post your bug number, just for the record.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
App Transport Security
App Transport Security (ATS) is a technology that requires an app to either support best practice HTTPS security or statically declare its security limitations via a property in its Info.plist. ATS is officially documented Bundle Resources > Information Property List NSAppTransportSecurity and Preventing Insecure Network Connections. This post contains a summary of the latest ATS developments. For more background on ATS, see:WWDC 2015 Session 706 Security and Your AppsWWDC 2015 Session 711 Networking with NSURLSessionWWDC 2016 Session 706 What’s New in SecurityWWDC 2017 Session 701 Your Apps and Evolving Network Security StandardsApp Transport Security TipLegacy ATS documentationApp Transport Security and App ReviewAt WWDC 2016 Apple announced that by the end of 2016 App Review will require “reasonable justification” for many ATS exceptions. This is not a technical change in the OS but rather a new App Review policy. The WWDC 2016 presentation has some general background to this but if you’re looking for s
0
0
84k
Jun ’15
Reply to SecPKCS12Import
I install my app on iPhone6 plus by Hoc?with ios 8.2. SecPKCS12Import leak, device log: SecTrustEvaluate [leaf AnchorTrusted], bug run my app on iPhone6 plus by Xcode?SecPKCS12Import is right,I'm sorry, I'm completely unable to parse this text.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: Privacy & Security SubTopic: General Tags:
Jun ’15
Reply to RSA Generating Public Key From Private Key
I would like to be able to set some attributes for the key that I import such as name and other variables can I do that when I import it?You can set some attributes via the various fields in the SecItemImportExportKeyParameters structure you pass to SecItemImport. Beyond that, you'll have to do a SecItemUpdate.I can figure out how to get it once I have saved it.The outItems parameter lets you get a list of items that were actually imported, which you can then use to reference them later on (in a SecItemUpdate call, for example).I need to get the public key from the private key I have imported. I have looked at the source for the security framework and there is a method SecKeyCreatePublicFromPrivate() But this appears to be private and not accesible through the framework. Is there a way to store it in the keychain differently like as a certificate or something that way it makes it easier?Looking at the source for SecKeyCreatePublicFromPrivate it really seems to resolve down to a call to SecItemExport on the pr
Topic: Privacy & Security SubTopic: General Tags:
Jun ’15
Reply to Draw gantt chart using UIcollectionviewcontroller?
How can I draw gantt chart Using UIcollectionviewController?I'm not a UICollectionView expert, so I can't help you directly. I can, however, move your thread over to App Frameworks > Cocoa Touch, where you're more likely to find UIKit gurus.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’15
Reply to Xcode 7 and NS_DESIGNATED_INITIALIZER
The rules for designated initialisers are complex and I'm going to bounce you to the docs for the general case. Curiously, I've found the best explanation of this to be the Initialization section of The Swift Programming Language, because the same concepts apply to both Swift and Objective-C.In your specific case you should override -init and have it fail at runtime. You should also tag it in your header with NS_UNAVAILABLE which will allow the compiler to catch this in the typical case.The above applies because your class can't possibly operate without a Model, and thus you can't reasonably implement -init in any useful way. If you could, you should. For example, if you were creating your own string object, it would make sense for it to implement -init by calling super and then initialising the string to the empty string.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: Programming Languages SubTopic: General Tags:
Jun ’15
Reply to Best practice for setting CFBundleVersion automatically
This does not work when you use a tool to generate the build number.Surely that would depend on your tool, no?Why do we need to set it manually, if it is required to be the same as the app?Indeed. I totally agree that Xcode should make this easier and I encourage you to file a bug to that effect.Please post your bug number, just for the record.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Jun ’15
Reply to Subscripting into array with int-like variable
Indeed. That's an artefact of the way that your app is built; if you configure your project to just build armv7, then command clicking on Int will take you to a 32-bit declaration: /// A 32-bit signed integer value /// type. struct Int : SignedIntegerType { var value: Builtin.Int32 ...*phew* You had me doubting myself for a minute there (-:Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1@apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15